]> git.localhorst.tv Git - l2e.git/blob - src/battle/Resources.h
changed number animation prototype to plain animation pointer
[l2e.git] / src / battle / Resources.h
1 /*
2  * Resources.h
3  *
4  *  Created on: Aug 8, 2012
5  *      Author: holy
6  */
7
8 #ifndef BATTLE_RESOURCES_H_
9 #define BATTLE_RESOURCES_H_
10
11 #include "../graphics/Menu.h"
12
13 #include <SDL.h>
14
15 namespace common {
16         class Inventory;
17         class Item;
18         class Spell;
19 }
20 namespace graphics {
21         class Animation;
22         class Font;
23         class Frame;
24         class Gauge;
25         class Sprite;
26 }
27
28 namespace battle {
29
30 struct Resources {
31
32         graphics::Sprite *swapCursor;
33         graphics::Sprite *moveIcons;
34         graphics::Sprite *attackIcons;
35         graphics::Sprite *attackChoiceIcons;
36
37         graphics::Frame *titleFrame;
38         graphics::Font *titleFont;
39
40         graphics::Frame *heroTagFrame;
41         graphics::Frame *activeHeroTagFrame;
42         graphics::Frame *smallHeroTagFrame;
43         graphics::Frame *lastSmallHeroTagFrame;
44
45         graphics::Font *heroTagFont;
46         graphics::Sprite *heroTagLabels;
47
48         graphics::Gauge *healthGauge;
49         graphics::Gauge *manaGauge;
50         graphics::Gauge *ikariGauge;
51
52         graphics::Frame *selectFrame;
53
54         graphics::Font *normalFont;
55         graphics::Font *disabledFont;
56
57         graphics::Sprite *menuCursor;
58         graphics::Sprite *weaponTargetCursor;
59         graphics::Sprite *magicTargetCursor;
60         graphics::Sprite *itemTargetCursor;
61
62         const char *spellMenuHeadline;
63         graphics::Menu<const common::Spell *> spellMenuPrototype;
64
65         common::Inventory *inventory;
66         const char *itemMenuHeadline;
67         graphics::Menu<const common::Item *> itemMenuPrototype;
68
69         const char *ikariMenuHeadline;
70         graphics::Menu<const common::Item *> ikariMenuPrototype;
71         const char *noEquipmentText;
72
73         const char *escapeText;
74
75         const graphics::Animation *numberAnimationPrototype;
76
77         const graphics::Sprite *bigNumberSprite;
78         const graphics::Sprite *greenNumberSprite;
79
80         graphics::Sprite *weaponMenuIcon;
81         graphics::Sprite *armorMenuIcon;
82         graphics::Sprite *shieldMenuIcon;
83         graphics::Sprite *helmetMenuIcon;
84         graphics::Sprite *ringMenuIcon;
85         graphics::Sprite *jewelMenuIcon;
86
87         int levelLabelCol;
88         int levelLabelRow;
89         int healthLabelCol;
90         int healthLabelRow;
91         int manaLabelCol;
92         int manaLabelRow;
93         int moveLabelCol;
94         int moveLabelRow;
95         int ikariLabelCol;
96         int ikariLabelRow;
97
98         Uint32 heroesBgColor;
99
100
101         Resources()
102         : swapCursor(0)
103         , moveIcons(0)
104         , attackIcons(0)
105         , attackChoiceIcons(0)
106
107         , titleFrame(0)
108         , titleFont(0)
109
110         , heroTagFrame(0)
111         , activeHeroTagFrame(0)
112         , smallHeroTagFrame(0)
113         , lastSmallHeroTagFrame(0)
114
115         , heroTagFont(0)
116         , heroTagLabels(0)
117
118         , healthGauge(0)
119         , manaGauge(0)
120         , ikariGauge(0)
121
122         , selectFrame(0)
123
124         , normalFont(0)
125         , disabledFont(0)
126
127         , menuCursor(0)
128         , weaponTargetCursor(0)
129         , magicTargetCursor(0)
130         , itemTargetCursor(0)
131
132         , spellMenuHeadline("")
133         , inventory(0)
134         , itemMenuHeadline("")
135         , ikariMenuHeadline("")
136         , noEquipmentText("")
137
138         , escapeText("")
139
140         , numberAnimationPrototype(0)
141         , bigNumberSprite(0)
142         , greenNumberSprite(0)
143
144         , weaponMenuIcon(0)
145         , armorMenuIcon(0)
146         , shieldMenuIcon(0)
147         , helmetMenuIcon(0)
148         , ringMenuIcon(0)
149         , jewelMenuIcon(0)
150
151         , levelLabelCol(0)
152         , levelLabelRow(0)
153         , healthLabelCol(0)
154         , healthLabelRow(0)
155         , manaLabelCol(0)
156         , manaLabelRow(0)
157         , moveLabelCol(0)
158         , moveLabelRow(0)
159         , ikariLabelCol(0)
160         , ikariLabelRow(0)
161
162         , heroesBgColor(0)
163         { }
164
165 };
166
167 }
168
169 #endif /* BATTLE_RESOURCES_H_ */