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