summaryrefslogtreecommitdiff
path: root/src/cheat_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-17 21:21:01 +0000
committerrubidium <rubidium@openttd.org>2008-04-17 21:21:01 +0000
commit18e64b28e25f387d1e269899cce8ffa704b1c76b (patch)
tree5c9f5720b6e3a7be462d940982b7a3ed266ae13f /src/cheat_func.h
parentfa4b5b1c18e8e1948af209f547ae552ed171f908 (diff)
downloadopenttd-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.h20
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 */