]> git.localhorst.tv Git - l2e.git/blobdiff - src/loader/Caster.h
added new files to code blocks project
[l2e.git] / src / loader / Caster.h
index 2718fc08f8327bcf7c9966ae145e0acefdc8a6b1..80e765e2d77c2404069fef8e0ce340e2056a1162 100644 (file)
@@ -9,21 +9,12 @@
 #define LOADER_CASTER_H_
 
 #include "Interpreter.h"
+#include "../battle/fwd.h"
+#include "../common/fwd.h"
+#include "../map/fwd.h"
 
 #include <string>
 
-namespace battle {
-       class Hero;
-       class Monster;
-       class PartyLayout;
-       class Resources;
-}
-
-namespace common {
-       class Item;
-       class Spell;
-}
-
 namespace loader {
 
 class Caster {
@@ -37,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);
@@ -49,6 +41,7 @@ private:
        int battleResourcesId;
        int heroId;
        int itemId;
+       int mapId;
        int monsterId;
        int partyLayoutId;
        int spellId;