]> git.localhorst.tv Git - l2e.git/blobdiff - src/loader/Caster.h
moved menu resources to data files
[l2e.git] / src / loader / Caster.h
index 72a92aa6bd2340773da9683fa9097e158d9fbbcf..2aa6be09ed5762d8dae481bf321813d10f94e851 100644 (file)
@@ -1,16 +1,11 @@
-/*
- * Caster.h
- *
- *  Created on: Sep 19, 2012
- *      Author: holy
- */
-
 #ifndef LOADER_CASTER_H_
 #define LOADER_CASTER_H_
 
 #include "Interpreter.h"
 #include "../battle/fwd.h"
 #include "../common/fwd.h"
+#include "../map/fwd.h"
+#include "../menu/fwd.h"
 
 #include <string>
 
@@ -27,8 +22,10 @@ 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);
+       menu::Resources *GetMenuResources(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);
@@ -36,13 +33,6 @@ public:
 private:
        Interpreter &intp;
 
-       int battleResourcesId;
-       int heroId;
-       int itemId;
-       int monsterId;
-       int partyLayoutId;
-       int spellId;
-
 };
 
 }