]> git.localhorst.tv Git - l2e.git/blob - src/battle/Resources.h
0a8a1e8db444a618be0cc43a37284f965245051e
[l2e.git] / src / battle / Resources.h
1 #ifndef BATTLE_RESOURCES_H_
2 #define BATTLE_RESOURCES_H_
3
4 namespace graphics {
5         class Animation;
6         class Font;
7         class Frame;
8         class Gauge;
9         struct MenuProperties;
10         class Sprite;
11 }
12
13 #include "../graphics/Color.h"
14 #include "../graphics/Menu.h"
15
16 #include <SDL.h>
17
18 namespace battle {
19
20 struct Resources {
21
22         static const int TYPE_ID = 201;
23
24         graphics::Sprite *swapCursor;
25         graphics::Sprite *moveIcons;
26         graphics::Sprite *attackIcons;
27         graphics::Sprite *attackChoiceIcons;
28
29         graphics::Frame *titleFrame;
30         graphics::Font *titleFont;
31
32         graphics::Frame *heroTagFrame;
33         graphics::Frame *activeHeroTagFrame;
34         graphics::Frame *smallHeroTagFrame;
35         graphics::Frame *lastSmallHeroTagFrame;
36
37         graphics::Font *heroTagFont;
38         graphics::Sprite *heroTagLabels;
39
40         graphics::Gauge *healthGauge;
41         graphics::Gauge *manaGauge;
42         graphics::Gauge *ikariGauge;
43
44         graphics::Frame *selectFrame;
45
46         graphics::Font *normalFont;
47         graphics::Font *disabledFont;
48
49         graphics::Sprite *menuCursor;
50         graphics::Sprite *weaponTargetCursor;
51         graphics::Sprite *magicTargetCursor;
52         graphics::Sprite *itemTargetCursor;
53
54         const char *spellMenuHeadline;
55         graphics::MenuProperties *spellMenuProperties;
56
57         const char *itemMenuHeadline;
58         graphics::MenuProperties *itemMenuProperties;
59
60         const char *ikariMenuHeadline;
61         graphics::MenuProperties *ikariMenuProperties;
62         const char *noEquipmentText;
63
64         const char *escapeText;
65
66         const graphics::Animation *numberAnimationPrototype;
67
68         const graphics::Sprite *bigNumberSprite;
69         const graphics::Sprite *greenNumberSprite;
70
71         graphics::Sprite *weaponMenuIcon;
72         graphics::Sprite *armorMenuIcon;
73         graphics::Sprite *shieldMenuIcon;
74         graphics::Sprite *helmetMenuIcon;
75         graphics::Sprite *ringMenuIcon;
76         graphics::Sprite *jewelMenuIcon;
77
78         int levelLabelCol;
79         int levelLabelRow;
80         int healthLabelCol;
81         int healthLabelRow;
82         int manaLabelCol;
83         int manaLabelRow;
84         int moveLabelCol;
85         int moveLabelRow;
86         int ikariLabelCol;
87         int ikariLabelRow;
88
89         graphics::Color heroesBgColor;
90
91         const char *victoryGetsText;
92         const char *victoryExpText;
93         const char *victoryGoldText;
94         const char *victoryLevelUpText;
95         const char *victoryUpgradeText;
96         const char *victoryNextLevelText;
97
98         const char *victoryMHPText;
99         const char *victoryMMPText;
100         const char *victoryATPText;
101         const char *victoryDFPText;
102         const char *victorySTRText;
103         const char *victoryAGLText;
104         const char *victoryINTText;
105         const char *victoryGUTText;
106         const char *victoryMGRText;
107
108
109         Resources();
110
111         static void CreateTypeDescription();
112         static void Construct(void *);
113
114 };
115
116 }
117
118 #endif