summaryrefslogtreecommitdiff
path: root/src/script/squirrel.hpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-07-31 19:50:01 +0000
committeryexo <yexo@openttd.org>2009-07-31 19:50:01 +0000
commitc2ed8840123cc81f58b3db8d6341b22349b4ac78 (patch)
tree71e42277f511c8cdfa800e9d564d159e20b595ff /src/script/squirrel.hpp
parent0bb3d7030ffdd336acd0131a00b93c6aa1b26419 (diff)
downloadopenttd-c2ed8840123cc81f58b3db8d6341b22349b4ac78.tar.xz
(svn r17005) -Add [NoAI]: AIAbstractList::SORT_ASCENDING / SORT_DESCENDING
Diffstat (limited to 'src/script/squirrel.hpp')
-rw-r--r--src/script/squirrel.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/script/squirrel.hpp b/src/script/squirrel.hpp
index 32f24cb11..612c6ce2e 100644
--- a/src/script/squirrel.hpp
+++ b/src/script/squirrel.hpp
@@ -78,6 +78,12 @@ public:
void AddConst(const char *var_name, int value);
/**
+ * Adds a const to the stack. Depending on the current state this means
+ * either a const to a class or to the global space.
+ */
+ void AddConst(const char *var_name, bool value);
+
+ /**
* Adds a class to the global scope. Make sure to call AddClassEnd when you
* are done adding methods.
*/