]> git.localhorst.tv Git - l2e.git/blob - src/battle/Resources.h
added basic defeat state
[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         const char *defeatText;
66
67         const graphics::Animation *numberAnimationPrototype;
68
69         const graphics::Sprite *bigNumberSprite;
70         const graphics::Sprite *greenNumberSprite;
71
72         graphics::Sprite *weaponMenuIcon;
73         graphics::Sprite *armorMenuIcon;
74         graphics::Sprite *shieldMenuIcon;
75         graphics::Sprite *helmetMenuIcon;
76         graphics::Sprite *ringMenuIcon;
77         graphics::Sprite *jewelMenuIcon;
78
79         int levelLabelCol;
80         int levelLabelRow;
81         int healthLabelCol;
82         int healthLabelRow;
83         int manaLabelCol;
84         int manaLabelRow;
85         int moveLabelCol;
86         int moveLabelRow;
87         int ikariLabelCol;
88         int ikariLabelRow;
89
90         graphics::Color heroesBgColor;
91
92         const char *victoryGetsText;
93         const char *victoryExpText;
94         const char *victoryGoldText;
95         const char *victoryLevelUpText;
96         const char *victoryUpgradeText;
97         const char *victoryNextLevelText;
98
99         const char *victoryMHPText;
100         const char *victoryMMPText;
101         const char *victoryATPText;
102         const char *victoryDFPText;
103         const char *victorySTRText;
104         const char *victoryAGLText;
105         const char *victoryINTText;
106         const char *victoryGUTText;
107         const char *victoryMGRText;
108
109
110         Resources();
111
112         static void CreateTypeDescription();
113         static void Construct(void *);
114
115 };
116
117 }
118
119 #endif