]> git.localhorst.tv Git - l2e.git/blobdiff - src/loader/Interpreter.h
split reading of literal from reading its defined name
[l2e.git] / src / loader / Interpreter.h
index b826d2cf7be2b15b03c58903b7b3078881545d04..8d5c1e31aadf7ca70ad042501baa2317d074fbd3 100644 (file)
@@ -47,6 +47,7 @@ namespace graphics {
 namespace loader {
 
 class Definition;
+class Literal;
 class ParsedSource;
 class PropertyList;
 class Value;
@@ -88,6 +89,7 @@ private:
        void ReadLiteral(const Definition &);
        void ReadObject(const Definition &);
 
+       void ReadLiteral(int typeId, int id, char *dest, const Literal &);
        void *GetObject(int typeId, const Value &value);
        void ReadObject(int typeId, int id, char *dest, const PropertyList &);