X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcommon%2FGameState.h;h=4080630a21e84e79681c7a029dc8c5fa2bda8c0e;hb=6dff93b1a6e9b727dbe26747456f4b23efca86da;hp=0ef442b200cf008ef7de28dbff702f9a8cc580e0;hpb=aedf4ae020e3c811341df79ceae63ca56fb7ce83;p=l2e.git diff --git a/src/common/GameState.h b/src/common/GameState.h index 0ef442b..4080630 100644 --- a/src/common/GameState.h +++ b/src/common/GameState.h @@ -1,13 +1,7 @@ -/* - * GameState.h - * - * Created on: Oct 7, 2012 - * Author: holy - */ - #ifndef COMMON_GAMESTATE_H_ #define COMMON_GAMESTATE_H_ +#include "Capsule.h" #include "Hero.h" #include "Inventory.h" @@ -20,13 +14,37 @@ struct GameState { GameState(); Hero heroes[7]; + int NumHeroes() const { return 7; } Hero *party[4]; + int partySize; + + Capsule capsules[7]; + int NumCapsules() const { return 7; } + Capsule *capsule; 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; + }; }