]> git.localhorst.tv Git - l2e.git/blob - src/battle/Resources.h
added and implemented swap heroes state
[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 *heroTagFrame;
35         graphics::Frame *activeHeroTagFrame;
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::Menu<const common::Spell *> spellMenuPrototype;
56
57         common::Inventory *inventory;
58         const char *itemMenuHeadline;
59         graphics::Menu<const common::Item *> itemMenuPrototype;
60
61         const char *ikariMenuHeadline;
62         graphics::Menu<const common::Item *> ikariMenuPrototype;
63         const char *noEquipmentText;
64
65         graphics::Sprite *weaponMenuIcon;
66         graphics::Sprite *armorMenuIcon;
67         graphics::Sprite *shieldMenuIcon;
68         graphics::Sprite *helmetMenuIcon;
69         graphics::Sprite *ringMenuIcon;
70         graphics::Sprite *jewelMenuIcon;
71
72
73         Resources()
74         : swapCursor(0)
75         , moveIcons(0)
76         , attackIcons(0)
77         , attackChoiceIcons(0)
78
79         , heroTagFrame(0)
80         , activeHeroTagFrame(0)
81
82         , heroTagFont(0)
83         , heroTagLabels(0)
84
85         , healthGauge(0)
86         , manaGauge(0)
87         , ikariGauge(0)
88
89         , selectFrame(0)
90
91         , normalFont(0)
92         , disabledFont(0)
93
94         , menuCursor(0)
95         , weaponTargetCursor(0)
96         , magicTargetCursor(0)
97         , itemTargetCursor(0)
98
99         , spellMenuHeadline("")
100         , inventory(0)
101         , itemMenuHeadline("")
102         , ikariMenuHeadline("")
103         , noEquipmentText("")
104
105         , weaponMenuIcon(0)
106         , armorMenuIcon(0)
107         , shieldMenuIcon(0)
108         , helmetMenuIcon(0)
109         , ringMenuIcon(0)
110         , jewelMenuIcon(0)
111         { }
112
113 };
114
115 }
116
117 #endif /* BATTLE_RESOURCES_H_ */