]> git.localhorst.tv Git - l2e.git/blob - src/battle/Resources.h
added attack targets selection 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 }
17 namespace graphics {
18         class Font;
19         class Frame;
20         class Gauge;
21         class Sprite;
22 }
23
24 namespace battle {
25
26 struct Resources {
27
28         graphics::Sprite *moveIcons;
29         graphics::Sprite *attackIcons;
30         graphics::Sprite *attackChoiceIcons;
31
32         graphics::Frame *heroTagFrame;
33         graphics::Frame *activeHeroTagFrame;
34
35         graphics::Font *heroTagFont;
36         graphics::Sprite *heroTagLabels;
37
38         graphics::Gauge *healthGauge;
39         graphics::Gauge *manaGauge;
40         graphics::Gauge *ikariGauge;
41
42         graphics::Frame *selectFrame;
43
44         graphics::Font *normalFont;
45         graphics::Font *disabledFont;
46
47         graphics::Sprite *menuCursor;
48         graphics::Sprite *weaponTargetCursor;
49         graphics::Sprite *magicTargetCursor;
50         graphics::Sprite *itemTargetCursor;
51
52         const char *spellMenuHeadline;
53         graphics::Menu</* Spell */ void *> spellMenuPrototype;
54
55         common::Inventory *inventory;
56         const char *itemMenuHeadline;
57         graphics::Menu<const common::Item *> itemMenuPrototype;
58
59         const char *ikariMenuHeadline;
60         graphics::Menu</* Ikari or Item */ void *> ikariMenuPrototype;
61
62
63         Resources()
64         : moveIcons(0)
65         , attackIcons(0)
66         , attackChoiceIcons(0)
67
68         , heroTagFrame(0)
69         , activeHeroTagFrame(0)
70
71         , heroTagFont(0)
72         , heroTagLabels(0)
73
74         , healthGauge(0)
75         , manaGauge(0)
76         , ikariGauge(0)
77
78         , selectFrame(0)
79
80         , normalFont(0)
81         , disabledFont(0)
82
83         , menuCursor(0)
84         , weaponTargetCursor(0)
85         , magicTargetCursor(0)
86         , itemTargetCursor(0)
87
88         , spellMenuHeadline("")
89         , inventory(0)
90         , itemMenuHeadline("")
91         , ikariMenuHeadline("")
92         { }
93
94 };
95
96 }
97
98 #endif /* BATTLE_RESOURCES_H_ */