X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.h;h=224df856e525130d8e12106c3e7d3b5282933a2d;hb=77c74cbf7569a65f71e004fab915a8b6ee73cbed;hp=602922bdff6c207b8ddddea3e02e78f9c2648cd3;hpb=dec5093fc78bfe1356d764c2432fed6566b2af66;p=rocksndiamonds.git diff --git a/src/game.h b/src/game.h index 602922bd..224df856 100644 --- a/src/game.h +++ b/src/game.h @@ -129,6 +129,9 @@ struct GameButtonInfo struct XY panel_sound_music; struct XY panel_sound_loops; struct XY panel_sound_simple; + + struct XY touch_stop; + struct XY touch_pause; }; struct GameSnapshotInfo @@ -204,6 +207,11 @@ struct GameInfo int players_still_needed; int friends_still_needed; + int robot_wheel_x, robot_wheel_y; + int exit_x, exit_y; + + boolean all_players_gone; + // values for the new EMC elements int lenses_time_left; int magnify_time_left; @@ -238,6 +246,7 @@ struct GameInfo // values for handling states for solved level and game over boolean LevelSolved; + boolean GamePlayed; boolean GameOver; boolean LevelSolved_GameWon; @@ -269,12 +278,12 @@ struct PlayerInfo int client_nr; // network client identifier byte action; // action from local input device - byte mapped_action; // action mapped from device to player byte effective_action; /* action acknowledged from network server or summarized over all configured input devices when in single player mode */ byte programmed_action; /* action forced by game itself (like moving through doors); overrides other actions */ + byte snap_action; // action from TAS snap keys struct MouseActionInfo mouse_action; // (used by MM engine only) struct MouseActionInfo effective_mouse_action; // (used by MM engine only) @@ -446,6 +455,7 @@ void CreateGameButtons(void); void FreeGameButtons(void); void MapUndoRedoButtons(void); void UnmapUndoRedoButtons(void); +void ModifyPauseButtons(void); void MapGameButtons(void); void UnmapGameButtons(void); void RedrawGameButtons(void);