]> git.localhorst.tv Git - l2e.git/blob - src/battle/Resources.h
split reading of literal from reading its defined name
[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/Color.h"
12 #include "../graphics/Menu.h"
13
14 #include <SDL.h>
15
16 namespace common {
17         class Inventory;
18         class Item;
19         class Spell;
20 }
21 namespace graphics {
22         class Animation;
23         class Font;
24         class Frame;
25         class Gauge;
26         class Sprite;
27 }
28
29 namespace battle {
30
31 struct Resources {
32
33         graphics::Sprite *swapCursor;
34         graphics::Sprite *moveIcons;
35         graphics::Sprite *attackIcons;
36         graphics::Sprite *attackChoiceIcons;
37
38         graphics::Frame *titleFrame;
39         graphics::Font *titleFont;
40
41         graphics::Frame *heroTagFrame;
42         graphics::Frame *activeHeroTagFrame;
43         graphics::Frame *smallHeroTagFrame;
44         graphics::Frame *lastSmallHeroTagFrame;
45
46         graphics::Font *heroTagFont;
47         graphics::Sprite *heroTagLabels;
48
49         graphics::Gauge *healthGauge;
50         graphics::Gauge *manaGauge;
51         graphics::Gauge *ikariGauge;
52
53         graphics::Frame *selectFrame;
54
55         graphics::Font *normalFont;
56         graphics::Font *disabledFont;
57
58         graphics::Sprite *menuCursor;
59         graphics::Sprite *weaponTargetCursor;
60         graphics::Sprite *magicTargetCursor;
61         graphics::Sprite *itemTargetCursor;
62
63         const char *spellMenuHeadline;
64         graphics::MenuProperties *spellMenuProperties;
65
66         common::Inventory *inventory;
67         const char *itemMenuHeadline;
68         graphics::MenuProperties *itemMenuProperties;
69
70         const char *ikariMenuHeadline;
71         graphics::MenuProperties *ikariMenuProperties;
72         const char *noEquipmentText;
73
74         const char *escapeText;
75
76         const graphics::Animation *numberAnimationPrototype;
77
78         const graphics::Sprite *bigNumberSprite;
79         const graphics::Sprite *greenNumberSprite;
80
81         graphics::Sprite *weaponMenuIcon;
82         graphics::Sprite *armorMenuIcon;
83         graphics::Sprite *shieldMenuIcon;
84         graphics::Sprite *helmetMenuIcon;
85         graphics::Sprite *ringMenuIcon;
86         graphics::Sprite *jewelMenuIcon;
87
88         int levelLabelCol;
89         int levelLabelRow;
90         int healthLabelCol;
91         int healthLabelRow;
92         int manaLabelCol;
93         int manaLabelRow;
94         int moveLabelCol;
95         int moveLabelRow;
96         int ikariLabelCol;
97         int ikariLabelRow;
98
99         graphics::Color heroesBgColor;
100
101
102         Resources();
103
104         static void CreateTypeDescription();
105         static void Construct(void *);
106
107 };
108
109 }
110
111 #endif /* BATTLE_RESOURCES_H_ */