summaryrefslogtreecommitdiff
path: root/src/script/squirrel.hpp
diff options
context:
space:
mode:
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.
*/