X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.h;h=1718f8357a61448cb2cb43868cb55521741c5b5a;hb=38ea4e57bc9b730abf7a15f8cc235465e6f0ad4c;hp=10ae3eaf9e7a8378f79daecd7055b6d2be1bddef;hpb=f2d0f3fed679ea3573f51aa298adce2d9a78d8be;p=rocksndiamonds.git diff --git a/src/game.h b/src/game.h index 10ae3eaf..1718f835 100644 --- a/src/game.h +++ b/src/game.h @@ -20,8 +20,21 @@ #define MAX_NUM_KEYS 8 +struct GamePanelInfo +{ + struct XY level; + struct XY gems; + struct XY inventory; + struct XY keys; + struct XY score; + struct XY time; +}; + struct GameInfo { + /* values for control panel */ + struct GamePanelInfo panel; + /* values for engine initialization */ int default_push_delay_fixed; int default_push_delay_random; @@ -115,6 +128,8 @@ struct PlayerInfo int last_move_dir; + boolean is_active; + boolean is_waiting; boolean is_moving; boolean is_auto_moving;