]> git.localhorst.tv Git - l2e.git/blob - src/battle/Resources.h
renamed namespace geometry -> math
[l2e.git] / src / battle / Resources.h
1 #ifndef BATTLE_RESOURCES_H_
2 #define BATTLE_RESOURCES_H_
3
4 #include "../common/fwd.h"
5 #include "../graphics/Color.h"
6 #include "../graphics/fwd.h"
7 #include "../graphics/Menu.h"
8
9 #include <SDL.h>
10
11 namespace battle {
12
13 struct Resources {
14
15         static const int TYPE_ID = 201;
16
17         graphics::Sprite *swapCursor;
18         graphics::Sprite *moveIcons;
19         graphics::Sprite *attackIcons;
20         graphics::Sprite *attackChoiceIcons;
21
22         graphics::Frame *titleFrame;
23         graphics::Font *titleFont;
24
25         graphics::Frame *heroTagFrame;
26         graphics::Frame *activeHeroTagFrame;
27         graphics::Frame *smallHeroTagFrame;
28         graphics::Frame *lastSmallHeroTagFrame;
29
30         graphics::Font *heroTagFont;
31         graphics::Sprite *heroTagLabels;
32
33         graphics::Gauge *healthGauge;
34         graphics::Gauge *manaGauge;
35         graphics::Gauge *ikariGauge;
36
37         graphics::Frame *selectFrame;
38
39         graphics::Font *normalFont;
40         graphics::Font *disabledFont;
41
42         graphics::Sprite *menuCursor;
43         graphics::Sprite *weaponTargetCursor;
44         graphics::Sprite *magicTargetCursor;
45         graphics::Sprite *itemTargetCursor;
46
47         const char *spellMenuHeadline;
48         graphics::MenuProperties *spellMenuProperties;
49
50         const char *itemMenuHeadline;
51         graphics::MenuProperties *itemMenuProperties;
52
53         const char *ikariMenuHeadline;
54         graphics::MenuProperties *ikariMenuProperties;
55         const char *noEquipmentText;
56
57         const char *escapeText;
58
59         const graphics::Animation *numberAnimationPrototype;
60
61         const graphics::Sprite *bigNumberSprite;
62         const graphics::Sprite *greenNumberSprite;
63
64         graphics::Sprite *weaponMenuIcon;
65         graphics::Sprite *armorMenuIcon;
66         graphics::Sprite *shieldMenuIcon;
67         graphics::Sprite *helmetMenuIcon;
68         graphics::Sprite *ringMenuIcon;
69         graphics::Sprite *jewelMenuIcon;
70
71         int levelLabelCol;
72         int levelLabelRow;
73         int healthLabelCol;
74         int healthLabelRow;
75         int manaLabelCol;
76         int manaLabelRow;
77         int moveLabelCol;
78         int moveLabelRow;
79         int ikariLabelCol;
80         int ikariLabelRow;
81
82         graphics::Color heroesBgColor;
83
84
85         Resources();
86
87         static void CreateTypeDescription();
88         static void Construct(void *);
89
90 };
91
92 }
93
94 #endif /* BATTLE_RESOURCES_H_ */