]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/BattleState.h
added ikari select state
[l2e.git] / src / battle / BattleState.h
index 65e8727906859fd442c174107ce92782d603fb1d..074578e18312252295b6da1dcb210b262243bff5 100644 (file)
@@ -80,6 +80,8 @@ public:
        bool AttackSelectionDone() const { return activeHero >= (int) heroes.size(); }
        graphics::Menu</* Spell */ void *> &GetSpellMenu() { return spellMenus[activeHero]; }
        const graphics::Menu</* Spell */ void *> &GetSpellMenu() const { return spellMenus[activeHero]; }
+       graphics::Menu</* Ikari or Item */ void *> &GetIkariMenu() { return ikariMenus[activeHero]; }
+       const graphics::Menu</* Ikari or Item */ void *> &GetIkariMenu() const { return ikariMenus[activeHero]; }
        graphics::Menu</* Item */ void *> &GetItemMenu() { return itemMenu; }
                const graphics::Menu</* Item */ void *> &GetItemMenu() const { return itemMenu; }
 
@@ -110,6 +112,7 @@ private:
        std::vector<Hero> heroes;
        std::vector<graphics::Menu</* Spell */ void *> > spellMenus;
        graphics::Menu</* Item */ void *> itemMenu;
+       std::vector<graphics::Menu</* Ikari or Item */ void *> > ikariMenus;
        std::vector<HeroTag> heroTags;
        std::vector<AttackChoice> attackChoices;
        int activeHero;