]> git.localhorst.tv Git - l2e.git/blob - src/battle/Resources.h
added Sort function to Inventory
[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         static const int TYPE_ID = 201;
23
24         graphics::Sprite *swapCursor;
25         graphics::Sprite *moveIcons;
26         graphics::Sprite *attackIcons;
27         graphics::Sprite *attackChoiceIcons;
28
29         graphics::Frame *titleFrame;
30         graphics::Font *titleFont;
31
32         graphics::Frame *heroTagFrame;
33         graphics::Frame *activeHeroTagFrame;
34         graphics::Frame *smallHeroTagFrame;
35         graphics::Frame *lastSmallHeroTagFrame;
36
37         graphics::Font *heroTagFont;
38         graphics::Sprite *heroTagLabels;
39
40         graphics::Gauge *healthGauge;
41         graphics::Gauge *manaGauge;
42         graphics::Gauge *ikariGauge;
43
44         graphics::Frame *selectFrame;
45
46         graphics::Font *normalFont;
47         graphics::Font *disabledFont;
48
49         graphics::Sprite *menuCursor;
50         graphics::Sprite *weaponTargetCursor;
51         graphics::Sprite *magicTargetCursor;
52         graphics::Sprite *itemTargetCursor;
53
54         const char *spellMenuHeadline;
55         graphics::MenuProperties *spellMenuProperties;
56
57         const char *itemMenuHeadline;
58         graphics::MenuProperties *itemMenuProperties;
59
60         const char *ikariMenuHeadline;
61         graphics::MenuProperties *ikariMenuProperties;
62         const char *noEquipmentText;
63
64         const char *escapeText;
65
66         const graphics::Animation *numberAnimationPrototype;
67
68         const graphics::Sprite *bigNumberSprite;
69         const graphics::Sprite *greenNumberSprite;
70
71         graphics::Sprite *weaponMenuIcon;
72         graphics::Sprite *armorMenuIcon;
73         graphics::Sprite *shieldMenuIcon;
74         graphics::Sprite *helmetMenuIcon;
75         graphics::Sprite *ringMenuIcon;
76         graphics::Sprite *jewelMenuIcon;
77
78         int levelLabelCol;
79         int levelLabelRow;
80         int healthLabelCol;
81         int healthLabelRow;
82         int manaLabelCol;
83         int manaLabelRow;
84         int moveLabelCol;
85         int moveLabelRow;
86         int ikariLabelCol;
87         int ikariLabelRow;
88
89         graphics::Color heroesBgColor;
90
91
92         Resources();
93
94         static void CreateTypeDescription();
95         static void Construct(void *);
96
97 };
98
99 }
100
101 #endif /* BATTLE_RESOURCES_H_ */