X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FResources.h;h=64fc8e798bde692e53b287641b2f6c79160ec2b1;hb=d6d77b62f44e04f2bae82017961c5e4b9b1f31b5;hp=7c37bcaf1cbd14966aee66ceb7ba063f16fd7f78;hpb=b6502719f0f02bdb4fc39aa66fa4a369ea583036;p=l2e.git diff --git a/src/battle/Resources.h b/src/battle/Resources.h index 7c37bca..64fc8e7 100644 --- a/src/battle/Resources.h +++ b/src/battle/Resources.h @@ -8,7 +8,17 @@ #ifndef BATTLE_RESOURCES_H_ #define BATTLE_RESOURCES_H_ +#include "../graphics/Color.h" + +#include + +namespace common { + class Inventory; + class Item; + class Spell; +} namespace graphics { + class Animation; class Font; class Frame; class Gauge; @@ -19,11 +29,18 @@ namespace battle { struct Resources { + graphics::Sprite *swapCursor; graphics::Sprite *moveIcons; graphics::Sprite *attackIcons; + graphics::Sprite *attackChoiceIcons; + + graphics::Frame *titleFrame; + graphics::Font *titleFont; graphics::Frame *heroTagFrame; graphics::Frame *activeHeroTagFrame; + graphics::Frame *smallHeroTagFrame; + graphics::Frame *lastSmallHeroTagFrame; graphics::Font *heroTagFont; graphics::Sprite *heroTagLabels; @@ -34,23 +51,56 @@ 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::MenuProperties *spellMenuProperties; + + common::Inventory *inventory; + const char *itemMenuHeadline; + graphics::MenuProperties *itemMenuProperties; + + const char *ikariMenuHeadline; + graphics::MenuProperties *ikariMenuProperties; + const char *noEquipmentText; + + const char *escapeText; + + const graphics::Animation *numberAnimationPrototype; + + const graphics::Sprite *bigNumberSprite; + const graphics::Sprite *greenNumberSprite; + + graphics::Sprite *weaponMenuIcon; + graphics::Sprite *armorMenuIcon; + graphics::Sprite *shieldMenuIcon; + graphics::Sprite *helmetMenuIcon; + graphics::Sprite *ringMenuIcon; + graphics::Sprite *jewelMenuIcon; - Resources() - : moveIcons(0) - , attackIcons(0) + int levelLabelCol; + int levelLabelRow; + int healthLabelCol; + int healthLabelRow; + int manaLabelCol; + int manaLabelRow; + int moveLabelCol; + int moveLabelRow; + int ikariLabelCol; + int ikariLabelRow; - , heroTagFrame(0) - , activeHeroTagFrame(0) + graphics::Color heroesBgColor; - , heroTagFont(0) - , heroTagLabels(0) - , healthGauge(0) - , manaGauge(0) - , ikariGauge(0) + Resources(); - , selectFrame(0) - { } + static void CreateTypeDescription(); };