summaryrefslogtreecommitdiff
path: root/src/script/squirrel.hpp
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-11-29 22:23:33 +0000
committertruebrain <truebrain@openttd.org>2011-11-29 22:23:33 +0000
commitbff7c33aa909d00428f81e6b5f89b236343fc13b (patch)
tree8a7617a800d443a19f871b7b7a0eb1382f08dfa5 /src/script/squirrel.hpp
parentb13fa6924b8bca7ec378d4daf87e18318670a44f (diff)
downloadopenttd-bff7c33aa909d00428f81e6b5f89b236343fc13b.tar.xz
(svn r23350) -Add: support different ScriptTypes in the helper functions for GetClassName (Rubidium)
Diffstat (limited to 'src/script/squirrel.hpp')
-rw-r--r--src/script/squirrel.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/script/squirrel.hpp b/src/script/squirrel.hpp
index 163d9b655..44ab21650 100644
--- a/src/script/squirrel.hpp
+++ b/src/script/squirrel.hpp
@@ -14,6 +14,11 @@
#include <squirrel.h>
+/** The type of script we're working with, i.e. for who is it? */
+enum ScriptType {
+ ST_AI, ///< The script is for the AI.
+};
+
class Squirrel {
private:
typedef void (SQPrintFunc)(bool error_msg, const SQChar *message);