OpenTTD
cheat_func.h
Go to the documentation of this file.
1 /* $Id: cheat_func.h 21844 2011-01-18 22:17:15Z 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_FUNC_H
13 #define CHEAT_FUNC_H
14 
15 #include "cheat_type.h"
16 
17 extern Cheats _cheats;
18 
19 void ShowCheatWindow();
20 
21 bool CheatHasBeenUsed();
22 
23 #endif /* CHEAT_FUNC_H */
Types related to cheating.
WARNING! Do not remove entries in Cheats struct or change the order of the existing ones! Would break...
Definition: cheat_type.h:28
bool CheatHasBeenUsed()
Return true if any cheat has been used, false otherwise.
Definition: cheat.cpp:30
void ShowCheatWindow()
Open cheat window.
Definition: cheat_gui.cpp:418
Cheats _cheats
All the cheats.
Definition: cheat.cpp:18