X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.h;h=c5eba4f155939e7296315d0bee1acc780b9b6287;hb=b197ad86c0801f6139e4f147bf22bd375c9dfb63;hp=3752ba00a7ed37d657bcb9a59b281cf54b9fb86a;hpb=de2230033229c30b5b4d344d57f9b61d7be941d3;p=rocksndiamonds.git diff --git a/src/game.h b/src/game.h index 3752ba00..c5eba4f1 100644 --- a/src/game.h +++ b/src/game.h @@ -52,6 +52,9 @@ struct GamePanelInfo { struct TextPosInfo level_number; struct TextPosInfo gems; + struct TextPosInfo gems_needed; + struct TextPosInfo gems_collected; + struct TextPosInfo gems_score; struct TextPosInfo inventory_count; struct TextPosInfo inventory_first[NUM_PANEL_INVENTORY]; struct TextPosInfo inventory_last[NUM_PANEL_INVENTORY]; @@ -163,6 +166,7 @@ struct GameInfo // values for graphics engine customization int graphics_engine_version; + boolean use_native_bd_graphics_engine; boolean use_native_emc_graphics_engine; boolean use_native_sp_graphics_engine; boolean use_masked_pushing; @@ -174,6 +178,9 @@ struct GameInfo int scroll_delay_value; int tile_size; + // values for sound engine customization + boolean use_native_bd_sound_engine; + // constant within running game int engine_version; int emulation; @@ -209,7 +216,6 @@ struct GameInfo int wind_direction; boolean explosions_delayed; - boolean envelope_active; boolean no_level_time_limit; // (variable only in very special case) boolean time_limit; // forced by levelset config or setup option @@ -251,6 +257,8 @@ struct GameInfo // values for special request dialog control boolean request_active; + boolean envelope_active; + boolean any_door_active; // values for special game control int centered_player_nr; @@ -441,6 +449,7 @@ void DrawDynamite(int, int); void StartGameActions(boolean, boolean, int); void GameActions(void); +void GameActions_BD_Main(void); void GameActions_EM_Main(void); void GameActions_SP_Main(void); void GameActions_MM_Main(void); @@ -464,9 +473,12 @@ void RequestQuitGameExt(boolean, boolean, char *); void RequestQuitGame(boolean); boolean CheckRestartGame(void); +boolean checkGameRunning(void); +boolean checkGamePlaying(void); boolean checkGameSolved(void); boolean checkGameFailed(void); boolean checkGameEnded(void); +boolean checkRequestActive(void); unsigned int InitEngineRandom_RND(int); unsigned int RND(int);