OpenTTD

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

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 {
29 Cheat magic_bulldozer;
30 Cheat switch_company;
31 Cheat money;
32 Cheat crossing_tunnels;
33 Cheat dummy1;
34 Cheat no_jetcrash;
35 Cheat dummy2;
36 Cheat change_date;
37 Cheat setup_prod;
38 Cheat dummy3;
39 Cheat edit_max_hl;
40 };
41
42 extern Cheats _cheats;
43
44 #endif /* CHEAT_TYPE_H */