X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Floader%2FInterpreter.h;h=3202482d3d9a1e28e2a8c67ddb9a3ea181938356;hb=44e43987d774b65dffbeae7692606eb2f82de531;hp=b826d2cf7be2b15b03c58903b7b3078881545d04;hpb=ac3755adc509404528ef7de58695bf8e3bfb7dcd;p=l2e.git diff --git a/src/loader/Interpreter.h b/src/loader/Interpreter.h index b826d2c..3202482 100644 --- a/src/loader/Interpreter.h +++ b/src/loader/Interpreter.h @@ -47,6 +47,7 @@ namespace graphics { namespace loader { class Definition; +class Literal; class ParsedSource; class PropertyList; class Value; @@ -88,9 +89,12 @@ 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 &); + SDL_Surface *GetImage(const std::string &); + private: const ParsedSource &source; struct ParsedDefinition {