]> git.localhorst.tv Git - l2e.git/blobdiff - src/loader/Interpreter.h
switched to static type IDs
[l2e.git] / src / loader / Interpreter.h
index 9795a6062961b283d7efcb1e38fe1a2b8756538a..e78de126c2f70dac5483ad6f182b123f6319c0db 100644 (file)
@@ -31,6 +31,15 @@ namespace loader {
 class Interpreter {
 
 public:
+       static const int BOOLEAN_ID = 1;
+       static const int COLOR_ID = 2;
+       static const int IMAGE_ID = 3;
+       static const int NUMBER_ID = 4;
+       static const int PATH_ID = 5;
+       static const int SCRIPT_ID = 6;
+       static const int STRING_ID = 7;
+       static const int VECTOR_ID = 8;
+
        class Error: public std::runtime_error {
        public:
                Error(const std::string &msg) : std::runtime_error("interpreter error: " + msg) { }