diff options
author | rubidium <rubidium@openttd.org> | 2008-04-17 21:21:01 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-17 21:21:01 +0000 |
commit | b1d1a4ac660de8415a066c43656459aeada434c8 (patch) | |
tree | 5c9f5720b6e3a7be462d940982b7a3ed266ae13f /src/cheat_func.h | |
parent | 5050ba84fb92c814161dbb129096fb642fc1d55c (diff) | |
download | openttd-b1d1a4ac660de8415a066c43656459aeada434c8.tar.xz |
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
Diffstat (limited to 'src/cheat_func.h')
-rw-r--r-- | src/cheat_func.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/cheat_func.h b/src/cheat_func.h new file mode 100644 index 000000000..dbe289736 --- /dev/null +++ b/src/cheat_func.h @@ -0,0 +1,20 @@ +/* $Id$ */ + +/** @file cheat_func.h Functions related to cheating. */ + +#ifndef CHEAT_FUNC_H +#define CHEAT_FUNC_H + +#include "cheat_type.h" + +extern Cheats _cheats; + +void ShowCheatWindow(); + +/** + * Return true if any cheat has been used, false otherwise + * @return has a cheat been used? + */ +bool CheatHasBeenUsed(); + +#endif /* CHEAT_FUNC_H */ |