X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Floader%2FCaster.h;h=a3042accef0af000642fd4e8e0da1068b507c4d6;hb=06b6411e5dc8fc6b905530f7adbde8bd0c2bb0ea;hp=2718fc08f8327bcf7c9966ae145e0acefdc8a6b1;hpb=f6085f8568f2c754ed2eac294171e542139581f4;p=l2e.git diff --git a/src/loader/Caster.h b/src/loader/Caster.h index 2718fc0..a3042ac 100644 --- a/src/loader/Caster.h +++ b/src/loader/Caster.h @@ -9,21 +9,11 @@ #define LOADER_CASTER_H_ #include "Interpreter.h" +#include "../battle/fwd.h" +#include "../common/fwd.h" #include -namespace battle { - class Hero; - class Monster; - class PartyLayout; - class Resources; -} - -namespace common { - class Item; - class Spell; -} - namespace loader { class Caster { @@ -37,7 +27,7 @@ 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); battle::Monster *GetMonster(const std::string &identifier); battle::PartyLayout *GetPartyLayout(const std::string &identifier);