Add: INR currency (#8136)
[openttd-github.git] / src / cheat_type.h
blob3d70d527f9a75b592f4b161dd07a847d32a09a79
1 /*
2 * This file is part of OpenTTD.
3 * 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.
4 * 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.
5 * 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/>.
6 */
8 /** @file cheat_type.h Types related to cheating. */
10 #ifndef CHEAT_TYPE_H
11 #define CHEAT_TYPE_H
13 /**
14 * Info about each of the cheats.
16 struct Cheat {
17 bool been_used; ///< has this cheat been used before?
18 bool value; ///< tells if the bool cheat is active or not
21 /**
22 * WARNING! Do _not_ remove entries in Cheats struct or change the order
23 * of the existing ones! Would break downward compatibility.
24 * Only add new entries at the end of the struct!
26 struct Cheats {
27 Cheat magic_bulldozer; ///< dynamite industries, objects
28 Cheat switch_company; ///< change to another company
29 Cheat money; ///< get rich or poor
30 Cheat crossing_tunnels; ///< allow tunnels that cross each other
31 Cheat dummy1; ///< empty cheat (build while in pause mode)
32 Cheat no_jetcrash; ///< no jet will crash on small airports anymore
33 Cheat dummy2; ///< empty cheat (change the climate of the map)
34 Cheat change_date; ///< changes date ingame
35 Cheat setup_prod; ///< setup raw-material production in game
36 Cheat dummy3; ///< empty cheat (enable running el-engines on normal rail)
37 Cheat edit_max_hl; ///< edit the maximum heightlevel; this is a cheat because of the fact that it needs to reset NewGRF game state and doing so as a simple configuration breaks the expectation of many
40 extern Cheats _cheats;
42 #endif /* CHEAT_TYPE_H */