X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Floader%2FInterpreter.h;fp=src%2Floader%2FInterpreter.h;h=e78de126c2f70dac5483ad6f182b123f6319c0db;hb=1907ca03c5e865c4d398170042aa384c67ffff29;hp=9795a6062961b283d7efcb1e38fe1a2b8756538a;hpb=fb9bd716a1740e41efbb08a3bfa42e441d64c693;p=l2e.git diff --git a/src/loader/Interpreter.h b/src/loader/Interpreter.h index 9795a60..e78de12 100644 --- a/src/loader/Interpreter.h +++ b/src/loader/Interpreter.h @@ -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) { }