X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FResources.h;h=656827e8f54a08b7b307d58fd40516d852c9c57b;hb=092a2dd175a4001a495c84ee85211734fb928c83;hp=8969eb8e8ba514c8ee7f4df91f3043c668177bb5;hpb=e4f678d8cce5408590178bc873fde1754c037d0d;p=l2e.git diff --git a/src/menu/Resources.h b/src/menu/Resources.h index 8969eb8..656827e 100644 --- a/src/menu/Resources.h +++ b/src/menu/Resources.h @@ -1,23 +1,145 @@ -/* - * 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; + graphics::Frame *statusFrame; + + graphics::MenuProperties *mainMenuProperties; + const char *mainMenuItemText; + const char *mainMenuSpellText; + const char *mainMenuCapsuleText; + const char *mainMenuEquipmentText; + const char *mainMenuStatusText; + const char *mainMenuChangeText; + const char *mainMenuConfigText; + const char *mainMenuScenarioText; + + const char *mainMenuTimeText; + const char *mainMenuGoldText; + + graphics::Sprite *heroCursor; + int heroCursorBlinkTime; + + const char *noEquipmentText; + + graphics::Sprite *shoulderNav; + + const char *atpLabel; + const char *dfpLabel; + const char *strLabel; + const char *aglLabel; + const char *intLabel; + const char *gutLabel; + const char *mgrLabel; + + const char *hpLabel; + const char *ipLabel; + const char *levelLabel; + const char *experienceLabel; + const char *nextLevelLabel; + + graphics::MenuProperties *statusMenuProperties; + + 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 *); + }; }