X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FResources.h;h=bd2fd91358839249062177d71d405ee30e316ab0;hb=d872d756e64b8f1f57cba64ae19f479f8eab3927;hp=2de6b69f684d7513a6c7e56c34b846a78b4c074f;hpb=4bdbcf13343cee3f4fcc4ed7057e18eb6fe49703;p=l2e.git diff --git a/src/battle/Resources.h b/src/battle/Resources.h index 2de6b69..bd2fd91 100644 --- a/src/battle/Resources.h +++ b/src/battle/Resources.h @@ -10,6 +10,11 @@ #include "../graphics/Menu.h" +namespace common { + class Inventory; + class Item; + class Spell; +} namespace graphics { class Font; class Frame; @@ -23,6 +28,7 @@ struct Resources { graphics::Sprite *moveIcons; graphics::Sprite *attackIcons; + graphics::Sprite *attackChoiceIcons; graphics::Frame *heroTagFrame; graphics::Frame *activeHeroTagFrame; @@ -37,14 +43,28 @@ struct Resources { graphics::Frame *selectFrame; graphics::Font *normalFont; + graphics::Font *disabledFont; + + graphics::Sprite *menuCursor; + graphics::Sprite *weaponTargetCursor; + graphics::Sprite *magicTargetCursor; + graphics::Sprite *itemTargetCursor; const char *spellMenuHeadline; - graphics::Menu spellMenuPrototype; + graphics::Menu spellMenuPrototype; + + common::Inventory *inventory; + const char *itemMenuHeadline; + graphics::Menu itemMenuPrototype; + + const char *ikariMenuHeadline; + graphics::Menu ikariMenuPrototype; Resources() : moveIcons(0) , attackIcons(0) + , attackChoiceIcons(0) , heroTagFrame(0) , activeHeroTagFrame(0) @@ -59,8 +79,17 @@ struct Resources { , selectFrame(0) , normalFont(0) + , disabledFont(0) + + , menuCursor(0) + , weaponTargetCursor(0) + , magicTargetCursor(0) + , itemTargetCursor(0) , spellMenuHeadline("") + , inventory(0) + , itemMenuHeadline("") + , ikariMenuHeadline("") { } };