]> git.localhorst.tv Git - l2e.git/blob - src/battle/Resources.h
linked equipment menu icons in 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/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 *moveIcons;
30         graphics::Sprite *attackIcons;
31         graphics::Sprite *attackChoiceIcons;
32
33         graphics::Frame *heroTagFrame;
34         graphics::Frame *activeHeroTagFrame;
35
36         graphics::Font *heroTagFont;
37         graphics::Sprite *heroTagLabels;
38
39         graphics::Gauge *healthGauge;
40         graphics::Gauge *manaGauge;
41         graphics::Gauge *ikariGauge;
42
43         graphics::Frame *selectFrame;
44
45         graphics::Font *normalFont;
46         graphics::Font *disabledFont;
47
48         graphics::Sprite *menuCursor;
49         graphics::Sprite *weaponTargetCursor;
50         graphics::Sprite *magicTargetCursor;
51         graphics::Sprite *itemTargetCursor;
52
53         const char *spellMenuHeadline;
54         graphics::Menu<const common::Spell *> spellMenuPrototype;
55
56         common::Inventory *inventory;
57         const char *itemMenuHeadline;
58         graphics::Menu<const common::Item *> itemMenuPrototype;
59
60         const char *ikariMenuHeadline;
61         graphics::Menu<const common::Item *> ikariMenuPrototype;
62
63         graphics::Sprite *weaponMenuIcon;
64         graphics::Sprite *armorMenuIcon;
65         graphics::Sprite *shieldMenuIcon;
66         graphics::Sprite *helmetMenuIcon;
67         graphics::Sprite *ringMenuIcon;
68         graphics::Sprite *jewelMenuIcon;
69
70
71         Resources()
72         : moveIcons(0)
73         , attackIcons(0)
74         , attackChoiceIcons(0)
75
76         , heroTagFrame(0)
77         , activeHeroTagFrame(0)
78
79         , heroTagFont(0)
80         , heroTagLabels(0)
81
82         , healthGauge(0)
83         , manaGauge(0)
84         , ikariGauge(0)
85
86         , selectFrame(0)
87
88         , normalFont(0)
89         , disabledFont(0)
90
91         , menuCursor(0)
92         , weaponTargetCursor(0)
93         , magicTargetCursor(0)
94         , itemTargetCursor(0)
95
96         , spellMenuHeadline("")
97         , inventory(0)
98         , itemMenuHeadline("")
99         , ikariMenuHeadline("")
100
101         , weaponMenuIcon(0)
102         , armorMenuIcon(0)
103         , shieldMenuIcon(0)
104         , helmetMenuIcon(0)
105         , ringMenuIcon(0)
106         , jewelMenuIcon(0)
107         { }
108
109 };
110
111 }
112
113 #endif /* BATTLE_RESOURCES_H_ */