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
commitb1d1a4ac660de8415a066c43656459aeada434c8 (patch)
tree5c9f5720b6e3a7be462d940982b7a3ed266ae13f /src/cheat_func.h
parent5050ba84fb92c814161dbb129096fb642fc1d55c (diff)
downloadopenttd-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.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 */