]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/Resources.h
reworked Menu to include an optional number
[l2e.git] / src / battle / Resources.h
index 098c84468f15f3e9616450f94660a9b9e5e0c41f..b07e2b21f0cf60472aa769013ac729fdc29cc616 100644 (file)
 
 #include "../graphics/Menu.h"
 
+namespace common {
+       class Inventory;
+       class Item;
+}
 namespace graphics {
        class Font;
        class Frame;
@@ -23,6 +27,7 @@ struct Resources {
 
        graphics::Sprite *moveIcons;
        graphics::Sprite *attackIcons;
+       graphics::Sprite *attackChoiceIcons;
 
        graphics::Frame *heroTagFrame;
        graphics::Frame *activeHeroTagFrame;
@@ -39,13 +44,23 @@ struct Resources {
        graphics::Font *normalFont;
        graphics::Font *disabledFont;
 
+       graphics::Sprite *menuCursor;
+
        const char *spellMenuHeadline;
        graphics::Menu</* Spell */ void *> spellMenuPrototype;
 
+       common::Inventory *inventory;
+       const char *itemMenuHeadline;
+       graphics::Menu<const common::Item *> itemMenuPrototype;
+
+       const char *ikariMenuHeadline;
+       graphics::Menu</* Ikari or Item */ void *> ikariMenuPrototype;
+
 
        Resources()
        : moveIcons(0)
        , attackIcons(0)
+       , attackChoiceIcons(0)
 
        , heroTagFrame(0)
        , activeHeroTagFrame(0)
@@ -62,7 +77,11 @@ struct Resources {
        , normalFont(0)
        , disabledFont(0)
 
+       , menuCursor(0)
        , spellMenuHeadline("")
+       , inventory(0)
+       , itemMenuHeadline("")
+       , ikariMenuHeadline("")
        { }
 
 };