]> git.localhorst.tv Git - l2e.git/blob - src/battle/Resources.h
added escape title frame, text, and font
[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 namespace common {
14         class Inventory;
15         class Item;
16         class Spell;
17 }
18 namespace graphics {
19         class Font;
20         class Frame;
21         class Gauge;
22         class Sprite;
23 }
24
25 namespace battle {
26
27 struct Resources {
28
29         graphics::Sprite *swapCursor;
30         graphics::Sprite *moveIcons;
31         graphics::Sprite *attackIcons;
32         graphics::Sprite *attackChoiceIcons;
33
34         graphics::Frame *titleFrame;
35         graphics::Font *titleFont;
36
37         graphics::Frame *heroTagFrame;
38         graphics::Frame *activeHeroTagFrame;
39
40         graphics::Font *heroTagFont;
41         graphics::Sprite *heroTagLabels;
42
43         graphics::Gauge *healthGauge;
44         graphics::Gauge *manaGauge;
45         graphics::Gauge *ikariGauge;
46
47         graphics::Frame *selectFrame;
48
49         graphics::Font *normalFont;
50         graphics::Font *disabledFont;
51
52         graphics::Sprite *menuCursor;
53         graphics::Sprite *weaponTargetCursor;
54         graphics::Sprite *magicTargetCursor;
55         graphics::Sprite *itemTargetCursor;
56
57         const char *spellMenuHeadline;
58         graphics::Menu<const common::Spell *> spellMenuPrototype;
59
60         common::Inventory *inventory;
61         const char *itemMenuHeadline;
62         graphics::Menu<const common::Item *> itemMenuPrototype;
63
64         const char *ikariMenuHeadline;
65         graphics::Menu<const common::Item *> ikariMenuPrototype;
66         const char *noEquipmentText;
67
68         const char *escapeText;
69
70         graphics::Sprite *weaponMenuIcon;
71         graphics::Sprite *armorMenuIcon;
72         graphics::Sprite *shieldMenuIcon;
73         graphics::Sprite *helmetMenuIcon;
74         graphics::Sprite *ringMenuIcon;
75         graphics::Sprite *jewelMenuIcon;
76
77
78         Resources()
79         : swapCursor(0)
80         , moveIcons(0)
81         , attackIcons(0)
82         , attackChoiceIcons(0)
83
84         , titleFrame(0)
85         , titleFont(0)
86
87         , heroTagFrame(0)
88         , activeHeroTagFrame(0)
89
90         , heroTagFont(0)
91         , heroTagLabels(0)
92
93         , healthGauge(0)
94         , manaGauge(0)
95         , ikariGauge(0)
96
97         , selectFrame(0)
98
99         , normalFont(0)
100         , disabledFont(0)
101
102         , menuCursor(0)
103         , weaponTargetCursor(0)
104         , magicTargetCursor(0)
105         , itemTargetCursor(0)
106
107         , spellMenuHeadline("")
108         , inventory(0)
109         , itemMenuHeadline("")
110         , ikariMenuHeadline("")
111         , noEquipmentText("")
112
113         , escapeText("")
114
115         , weaponMenuIcon(0)
116         , armorMenuIcon(0)
117         , shieldMenuIcon(0)
118         , helmetMenuIcon(0)
119         , ringMenuIcon(0)
120         , jewelMenuIcon(0)
121         { }
122
123 };
124
125 }
126
127 #endif /* BATTLE_RESOURCES_H_ */