X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Floader%2FCaster.h;h=80e765e2d77c2404069fef8e0ce340e2056a1162;hb=8fd08e32d902b1340dd686ba0d7990fb1be3b861;hp=72a92aa6bd2340773da9683fa9097e158d9fbbcf;hpb=2a1d9169e1f6c2dfe0f93ed40d5fb68d3da342af;p=l2e.git diff --git a/src/loader/Caster.h b/src/loader/Caster.h index 72a92aa..80e765e 100644 --- a/src/loader/Caster.h +++ b/src/loader/Caster.h @@ -11,6 +11,7 @@ #include "Interpreter.h" #include "../battle/fwd.h" #include "../common/fwd.h" +#include "../map/fwd.h" #include @@ -27,8 +28,9 @@ private: public: battle::Resources *GetBattleResources(const std::string &identifier); - battle::Hero *GetHero(const std::string &identifier); + common::Hero *GetHero(const std::string &identifier); common::Item *GetItem(const std::string &identifier); + map::Map *GetMap(const std::string &identifier); battle::Monster *GetMonster(const std::string &identifier); battle::PartyLayout *GetPartyLayout(const std::string &identifier); common::Spell *GetSpell(const std::string &identifier); @@ -39,6 +41,7 @@ private: int battleResourcesId; int heroId; int itemId; + int mapId; int monsterId; int partyLayoutId; int spellId;