X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FResources.h;h=656827e8f54a08b7b307d58fd40516d852c9c57b;hb=092a2dd175a4001a495c84ee85211734fb928c83;hp=a0c60e15c95b86dca21f66bef3397e4acfc85e3c;hpb=559457f14d914f6b1cb5d588a0ccf97529f011d1;p=l2e.git diff --git a/src/menu/Resources.h b/src/menu/Resources.h index a0c60e1..656827e 100644 --- a/src/menu/Resources.h +++ b/src/menu/Resources.h @@ -1,22 +1,25 @@ -/* - * Resources.h - * - * Created on: Oct 21, 2012 - * Author: holy - */ - #ifndef MENU_RESOURCES_H_ #define MENU_RESOURCES_H_ -#include "../graphics/fwd.h" +namespace graphics { + class CharSelect; + class Font; + class Frame; + struct MenuProperties; + class Sprite; + class Texture; +} namespace menu { struct Resources { + static const int TYPE_ID = 701; + graphics::Texture *menubg; graphics::Font *normalFont; + graphics::Font *inactiveFont; graphics::Font *statusFont; graphics::Sprite *statusLabels; @@ -50,7 +53,9 @@ struct Resources { const char *gutLabel; const char *mgrLabel; + const char *hpLabel; const char *ipLabel; + const char *levelLabel; const char *experienceLabel; const char *nextLevelLabel; @@ -59,8 +64,82 @@ struct Resources { const char *nextLabel; const char *returnLabel; + graphics::MenuProperties *itemMenuProperties; + const char *itemMenuUseText; + const char *itemMenuSortText; + const char *itemMenuDropText; + const char *itemMenuSelectText; + + graphics::MenuProperties *inventoryMenuProperties; + + graphics::MenuProperties *spellMenuProperties; + + graphics::MenuProperties *equipmentActionMenuProperties; + graphics::MenuProperties *equipmentMenuProperties; + const char *equipMenuEquipLabel; + const char *equipMenuStrongestLabel; + const char *equipMenuRemoveLabel; + const char *equipMenuRemoveAllLabel; + const char *equipMenuDropLabel; + + graphics::MenuProperties *configMenuProperties; + const char *configMessageSpeedLabel; + const char *configMessageSpeedFast; + const char *configMessageSpeedNormal; + const char *configMessageSpeedSlow; + const char *configBattleCursorLabel; + const char *configStatusCursorLabel; + const char *configCursorClear; + const char *configCursorMemory; + const char *configMusicLabel; + const char *configMusicStereo; + const char *configMusicMono; + + graphics::MenuProperties *scenarioMenuProperties; + const char *scenarioMenuHeadline; + + graphics::Texture *capsulebg; + + graphics::MenuProperties *capsuleMenuProperties; + graphics::MenuProperties *capsuleFeedMenuProperties; + + const char *capsuleFeedLabel; + const char *capsuleChangeLabel; + const char *capsuleNameLabel; + const char *capsuleClassLabel; + const char *capsuleAlignmentLabel; + const char *capsuleTribeLabel; + const char *capsuleAttack1Label; + const char *capsuleAttack2Label; + const char *capsuleAttack3Label; + const char *capsuleNoAttackText; + const char *capsuleNotHungryText; + + graphics::CharSelect *capsuleNameCharSelectTemplate; + + graphics::Sprite *capsuleSelectTopLeft; + graphics::Sprite *capsuleSelectTopRight; + graphics::Sprite *capsuleSelectTopRepeat; + graphics::Sprite *capsuleSelectBottomLeft; + graphics::Sprite *capsuleSelectBottomRight; + graphics::Sprite *capsuleSelectBottomRepeat; + graphics::Texture *capsuleSelectLeftRepeat; + graphics::Texture *capsuleSelectRightRepeat; + graphics::Sprite *capsuleSelectLadder; + graphics::Sprite *capsuleSelectCursor; + + graphics::Sprite *capsuleAlignmentWheel; + graphics::Sprite *capsuleAlignmentCursor; + + graphics::Sprite *capsuleGrowthLabel; + graphics::Sprite *capsuleGrowthBar; + graphics::Sprite *capsuleGrowthBarFilled; + Resources(); + static void CreateTypeDescription(); + static void Construct(void *); + }; }