]> git.localhorst.tv Git - l2e.git/blob - src/battle/Resources.h
added spells
[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</* Ikari or Item */ void *> ikariMenuPrototype;
62
63
64         Resources()
65         : moveIcons(0)
66         , attackIcons(0)
67         , attackChoiceIcons(0)
68
69         , heroTagFrame(0)
70         , activeHeroTagFrame(0)
71
72         , heroTagFont(0)
73         , heroTagLabels(0)
74
75         , healthGauge(0)
76         , manaGauge(0)
77         , ikariGauge(0)
78
79         , selectFrame(0)
80
81         , normalFont(0)
82         , disabledFont(0)
83
84         , menuCursor(0)
85         , weaponTargetCursor(0)
86         , magicTargetCursor(0)
87         , itemTargetCursor(0)
88
89         , spellMenuHeadline("")
90         , inventory(0)
91         , itemMenuHeadline("")
92         , ikariMenuHeadline("")
93         { }
94
95 };
96
97 }
98
99 #endif /* BATTLE_RESOURCES_H_ */