X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Floader%2FInterpreter.h;h=7755a1beb01e767684f5db5561143b48661b4cca;hb=09e8cfd4d7b2d187fed0870ebdb2e9e3f77fe4b9;hp=ffbad42e1a6ef1e2897305c55a04ad3090e38832;hpb=f3230836ca2e263e84b58ffec6645c0f77439117;p=l2e.git diff --git a/src/loader/Interpreter.h b/src/loader/Interpreter.h index ffbad42..7755a1b 100644 --- a/src/loader/Interpreter.h +++ b/src/loader/Interpreter.h @@ -77,6 +77,7 @@ public: battle::Monster *GetMonster(const std::string &name); int GetNumber(const std::string &name) const; battle::PartyLayout *GetPartyLayout(const std::string &name); + const char *GetPath(const std::string &name) const; common::Spell *GetSpell(const std::string &name); graphics::Sprite *GetSprite(const std::string &name); const char *GetString(const std::string &name) const; @@ -121,6 +122,7 @@ private: battle::PartyLayout *GetPartyLayout(const Value &); const PropertyList *GetPropertyList(const Value &); const std::vector &GetPropertyListArray(const Value &); + const char *GetPath(const Value &); common::Spell *GetSpell(const Value &); graphics::Sprite *GetSprite(const Value &); const char *GetString(const Value &); @@ -159,6 +161,7 @@ private: MONSTER, NUMBER, PARTY_LAYOUT, + PATH, PROPERTY_LIST_ARRAY, SIMPLE_ANIMATION, SPELL, @@ -177,6 +180,8 @@ private: }; std::map parsedDefinitions; + std::map imageCache; + std::vector booleans; std::vector complexAnimations; std::vector fonts;