]> git.localhorst.tv Git - l2e.git/blob - src/common/GameState.h
load capsule in battles created by MapState
[l2e.git] / src / common / GameState.h
1 #ifndef COMMON_GAMESTATE_H_
2 #define COMMON_GAMESTATE_H_
3
4 #include "Capsule.h"
5 #include "Hero.h"
6 #include "Inventory.h"
7
8 #include <SDL.h>
9
10 namespace common {
11
12 struct GameState {
13
14         GameState();
15
16         Hero heroes[7];
17         Hero *party[4];
18         int partySize;
19
20         Capsule capsules[7];
21         Capsule *capsule;
22
23         Inventory inventory;
24
25         Uint32 money;
26         Uint32 time;
27
28         enum MessageSpeed {
29                 MESSAGE_SPEED_FAST,
30                 MESSAGE_SPEED_NORMAL,
31                 MESSAGE_SPEED_SLOW,
32         };
33         enum Cursor {
34                 CURSOR_CLEAR,
35                 CURSOR_MEMORY,
36         };
37         enum Music {
38                 MUSIC_STEREO,
39                 MUSIC_MONO,
40         };
41         int messageSpeed;
42         int battleCursor;
43         int statusCursor;
44         int music;
45
46 };
47
48 }
49
50 #endif /* COMMON_GAMESTATE_H_ */