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