]> git.localhorst.tv Git - l2e.git/blob - src/battle/Resources.h
added interpretation of battle resources
[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/Color.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::MenuProperties *spellMenuProperties;
64
65         common::Inventory *inventory;
66         const char *itemMenuHeadline;
67         graphics::MenuProperties *itemMenuProperties;
68
69         const char *ikariMenuHeadline;
70         graphics::MenuProperties *ikariMenuProperties;
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         graphics::Color 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         , spellMenuProperties(0)
134         , inventory(0)
135         , itemMenuHeadline("")
136         , itemMenuProperties(0)
137         , ikariMenuHeadline("")
138         , ikariMenuProperties(0)
139         , noEquipmentText("")
140
141         , escapeText("")
142
143         , numberAnimationPrototype(0)
144         , bigNumberSprite(0)
145         , greenNumberSprite(0)
146
147         , weaponMenuIcon(0)
148         , armorMenuIcon(0)
149         , shieldMenuIcon(0)
150         , helmetMenuIcon(0)
151         , ringMenuIcon(0)
152         , jewelMenuIcon(0)
153
154         , levelLabelCol(0)
155         , levelLabelRow(0)
156         , healthLabelCol(0)
157         , healthLabelRow(0)
158         , manaLabelCol(0)
159         , manaLabelRow(0)
160         , moveLabelCol(0)
161         , moveLabelRow(0)
162         , ikariLabelCol(0)
163         , ikariLabelRow(0)
164
165         { }
166
167 };
168
169 }
170
171 #endif /* BATTLE_RESOURCES_H_ */