]> git.localhorst.tv Git - l2e.git/commitdiff
added (currently uninterpreted) config to state
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Thu, 29 Nov 2012 13:00:49 +0000 (14:00 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Thu, 29 Nov 2012 13:00:49 +0000 (14:00 +0100)
src/common/GameState.cpp
src/common/GameState.h

index ee7b1b2b51fda40a979b8ead46526a0aadd0ae7c..480c305e94007441cb8ed137cd9f6fe3430ef6f5 100644 (file)
@@ -12,7 +12,11 @@ namespace common {
 GameState::GameState()
 : partySize(1)
 , money(0)
-, time(0) {
+, time(0)
+, messageSpeed(MESSAGE_SPEED_NORMAL)
+, battleCursor(CURSOR_CLEAR)
+, statusCursor(CURSOR_CLEAR)
+, music(MUSIC_STEREO) {
        party[0] = heroes;
        party[1] = 0;
        party[2] = 0;
index 078da1a3738cba03eeae82eadbe2c8d0711eca54..1cd54282a345d2ab2ce8b4fb86ee44a512e1bfa5 100644 (file)
@@ -28,6 +28,24 @@ struct GameState {
        Uint32 money;
        Uint32 time;
 
+       enum MessageSpeed {
+               MESSAGE_SPEED_FAST,
+               MESSAGE_SPEED_NORMAL,
+               MESSAGE_SPEED_SLOW,
+       };
+       enum Cursor {
+               CURSOR_CLEAR,
+               CURSOR_MEMORY,
+       };
+       enum Music {
+               MUSIC_STEREO,
+               MUSIC_MONO,
+       };
+       int messageSpeed;
+       int battleCursor;
+       int statusCursor;
+       int music;
+
 };
 
 }