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