X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.h;h=c555578b4ae8ce4a2f8755d380e51bcb18d7aced;hb=285c03eed7aaf9b5a8c41eb2c691e20bc28343d9;hp=6ecbefc48459689311e83e6e52bc29c32c71bad0;hpb=7f44b998d7a52222429d0794d3ec1713f37a7f47;p=rocksndiamonds.git diff --git a/src/game.h b/src/game.h index 6ecbefc4..c555578b 100644 --- a/src/game.h +++ b/src/game.h @@ -163,6 +163,8 @@ struct GameInfo boolean use_masked_pushing; boolean use_masked_elements; boolean use_masked_elements_initial; + int forced_scroll_x; + int forced_scroll_y; int forced_scroll_delay_value; int scroll_delay_value; int tile_size; @@ -244,7 +246,6 @@ struct GameInfo // values for special request dialog control boolean request_active; - boolean request_active_or_moving; // values for special game control int centered_player_nr; @@ -274,6 +275,8 @@ struct GameInfo int LevelSolved_CountingTime; int LevelSolved_CountingScore; int LevelSolved_CountingHealth; + + boolean RestartGameRequested; }; struct PlayerInfo @@ -424,8 +427,10 @@ void GameEnd(void); void MergeServerScore(void); void InitPlayerGfxAnimation(struct PlayerInfo *, int, int); + void Moving2Blocked(int, int, int *, int *); void Blocked2Moving(int, int, int *, int *); + void DrawDynamite(int, int); void StartGameActions(boolean, boolean, int); @@ -452,7 +457,6 @@ void RaiseScoreElement(int); void RequestQuitGameExt(boolean, boolean, char *); void RequestQuitGame(boolean); -void RequestRestartGame(char *); boolean CheckRestartGame(void); boolean checkGameSolved(void);