OpenTTD
cheat_type.h
Go to the documentation of this file.
1 /* $Id: cheat_type.h 26887 2014-09-21 12:39:24Z rubidium $ */
2 
3 /*
4  * This file is part of OpenTTD.
5  * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
6  * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
7  * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
8  */
9 
12 #ifndef CHEAT_TYPE_H
13 #define CHEAT_TYPE_H
14 
18 struct Cheat {
19  bool been_used;
20  bool value;
21 };
22 
28 struct Cheats {
40 };
41 
42 extern Cheats _cheats;
43 
44 #endif /* CHEAT_TYPE_H */
Cheat switch_company
change to another company
Definition: cheat_type.h:30
bool been_used
has this cheat been used before?
Definition: cheat_type.h:19
Cheat money
get rich or poor
Definition: cheat_type.h:31
Cheat no_jetcrash
no jet will crash on small airports anymore
Definition: cheat_type.h:34
Cheat edit_max_hl
edit the maximum heightlevel; this is a cheat because of the fact that it needs to reset NewGRF game ...
Definition: cheat_type.h:39
Cheat dummy3
empty cheat (enable running el-engines on normal rail)
Definition: cheat_type.h:38
Cheat change_date
changes date ingame
Definition: cheat_type.h:36
WARNING! Do not remove entries in Cheats struct or change the order of the existing ones! Would break...
Definition: cheat_type.h:28
bool value
tells if the bool cheat is active or not
Definition: cheat_type.h:20
Cheat setup_prod
setup raw-material production in game
Definition: cheat_type.h:37
Cheat dummy2
empty cheat (change the climate of the map)
Definition: cheat_type.h:35
Info about each of the cheats.
Definition: cheat_type.h:18
Cheat dummy1
empty cheat (build while in pause mode)
Definition: cheat_type.h:33
Cheat crossing_tunnels
allow tunnels that cross each other
Definition: cheat_type.h:32
Cheat magic_bulldozer
dynamite industries, objects
Definition: cheat_type.h:29
Cheats _cheats
All the cheats.
Definition: cheat.cpp:18