]> git.localhorst.tv Git - l2e.git/blob - src/battle/Resources.h
closed the gap between battle and map state (yay)
[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 "../common/fwd.h"
12 #include "../graphics/Color.h"
13 #include "../graphics/fwd.h"
14 #include "../graphics/Menu.h"
15
16 #include <SDL.h>
17
18 namespace battle {
19
20 struct Resources {
21
22         graphics::Sprite *swapCursor;
23         graphics::Sprite *moveIcons;
24         graphics::Sprite *attackIcons;
25         graphics::Sprite *attackChoiceIcons;
26
27         graphics::Frame *titleFrame;
28         graphics::Font *titleFont;
29
30         graphics::Frame *heroTagFrame;
31         graphics::Frame *activeHeroTagFrame;
32         graphics::Frame *smallHeroTagFrame;
33         graphics::Frame *lastSmallHeroTagFrame;
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::MenuProperties *spellMenuProperties;
54
55         const char *itemMenuHeadline;
56         graphics::MenuProperties *itemMenuProperties;
57
58         const char *ikariMenuHeadline;
59         graphics::MenuProperties *ikariMenuProperties;
60         const char *noEquipmentText;
61
62         const char *escapeText;
63
64         const graphics::Animation *numberAnimationPrototype;
65
66         const graphics::Sprite *bigNumberSprite;
67         const graphics::Sprite *greenNumberSprite;
68
69         graphics::Sprite *weaponMenuIcon;
70         graphics::Sprite *armorMenuIcon;
71         graphics::Sprite *shieldMenuIcon;
72         graphics::Sprite *helmetMenuIcon;
73         graphics::Sprite *ringMenuIcon;
74         graphics::Sprite *jewelMenuIcon;
75
76         int levelLabelCol;
77         int levelLabelRow;
78         int healthLabelCol;
79         int healthLabelRow;
80         int manaLabelCol;
81         int manaLabelRow;
82         int moveLabelCol;
83         int moveLabelRow;
84         int ikariLabelCol;
85         int ikariLabelRow;
86
87         graphics::Color heroesBgColor;
88
89
90         Resources();
91
92         static void CreateTypeDescription();
93         static void Construct(void *);
94
95 };
96
97 }
98
99 #endif /* BATTLE_RESOURCES_H_ */