X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FResources.h;h=27e8e6fcd95dba3a19993a09be409f4c6d297fea;hb=4309d259becd96ead792678257e910c03a6b4a3d;hp=62b825ded0cf94b39d7bf2b6597035bfb86d65d1;hpb=350055a7ff27c74882aff8a4d6af2014782f830b;p=l2e.git diff --git a/src/menu/Resources.h b/src/menu/Resources.h index 62b825d..27e8e6f 100644 --- a/src/menu/Resources.h +++ b/src/menu/Resources.h @@ -1,28 +1,27 @@ -/* - * 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 *menuCursor; - graphics::Sprite *menuActiveCursor; - graphics::Sprite *statusLabels; graphics::Frame *statusFrame; @@ -54,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; @@ -67,6 +68,7 @@ struct Resources { const char *itemMenuUseText; const char *itemMenuSortText; const char *itemMenuDropText; + const char *itemMenuSelectText; graphics::MenuProperties *inventoryMenuProperties; @@ -96,10 +98,50 @@ struct Resources { 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 *); + }; } -#endif /* MENU_RESOURCES_H_ */ +#endif