]> git.localhorst.tv Git - l2e.git/blob - src/battle/Resources.h
5ef036fd715010553e3e4e7090a0f44c3b67a5ce
[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         common::Inventory *inventory;
56         const char *itemMenuHeadline;
57         graphics::MenuProperties *itemMenuProperties;
58
59         const char *ikariMenuHeadline;
60         graphics::MenuProperties *ikariMenuProperties;
61         const char *noEquipmentText;
62
63         const char *escapeText;
64
65         const graphics::Animation *numberAnimationPrototype;
66
67         const graphics::Sprite *bigNumberSprite;
68         const graphics::Sprite *greenNumberSprite;
69
70         graphics::Sprite *weaponMenuIcon;
71         graphics::Sprite *armorMenuIcon;
72         graphics::Sprite *shieldMenuIcon;
73         graphics::Sprite *helmetMenuIcon;
74         graphics::Sprite *ringMenuIcon;
75         graphics::Sprite *jewelMenuIcon;
76
77         int levelLabelCol;
78         int levelLabelRow;
79         int healthLabelCol;
80         int healthLabelRow;
81         int manaLabelCol;
82         int manaLabelRow;
83         int moveLabelCol;
84         int moveLabelRow;
85         int ikariLabelCol;
86         int ikariLabelRow;
87
88         graphics::Color heroesBgColor;
89
90
91         Resources();
92
93         static void CreateTypeDescription();
94         static void Construct(void *);
95
96 };
97
98 }
99
100 #endif /* BATTLE_RESOURCES_H_ */