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 | 18e64b28e25f387d1e269899cce8ffa704b1c76b (patch) | |
tree | 5c9f5720b6e3a7be462d940982b7a3ed266ae13f /src/cheat_func.h | |
parent | fa4b5b1c18e8e1948af209f547ae552ed171f908 (diff) | |
download | openttd-18e64b28e25f387d1e269899cce8ffa704b1c76b.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 */ |