X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcommon%2FGameState.h;h=1cd54282a345d2ab2ce8b4fb86ee44a512e1bfa5;hb=67817384452d1d8955169c0dc648774e71ea3abe;hp=f1edf484e474327363b65f64324ce8452d7da98d;hpb=06b6411e5dc8fc6b905530f7adbde8bd0c2bb0ea;p=l2e.git diff --git a/src/common/GameState.h b/src/common/GameState.h index f1edf48..1cd5428 100644 --- a/src/common/GameState.h +++ b/src/common/GameState.h @@ -9,6 +9,7 @@ #define COMMON_GAMESTATE_H_ #include "Hero.h" +#include "Inventory.h" #include @@ -20,8 +21,30 @@ struct GameState { Hero heroes[7]; Hero *party[4]; + int partySize; + + Inventory inventory; 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; };