diff options
author | truebrain <truebrain@openttd.org> | 2011-11-29 22:23:33 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-11-29 22:23:33 +0000 |
commit | bff7c33aa909d00428f81e6b5f89b236343fc13b (patch) | |
tree | 8a7617a800d443a19f871b7b7a0eb1382f08dfa5 /src/script/squirrel.hpp | |
parent | b13fa6924b8bca7ec378d4daf87e18318670a44f (diff) | |
download | openttd-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.hpp | 5 |
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); |