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