X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fgame.h;h=5d5e887d4857270541ce491bd39c2e3a88128102;hp=cd388da73abb3f792c094dfbb1a667359ee9cdfa;hb=4a1cf573aae3a92b4ca910482d425e8b789b32eb;hpb=37dc6b231b7e6cd2aeab259ebe52be365b7f3c17 diff --git a/src/game.h b/src/game.h index cd388da7..5d5e887d 100644 --- a/src/game.h +++ b/src/game.h @@ -57,6 +57,9 @@ struct GamePanelInfo struct TextPosInfo time_hh; struct TextPosInfo time_mm; struct TextPosInfo time_ss; + struct TextPosInfo time_anim; + struct TextPosInfo health; + struct TextPosInfo health_anim; struct TextPosInfo frame; struct TextPosInfo shield_normal; struct TextPosInfo shield_normal_time; @@ -122,6 +125,8 @@ struct GameSnapshotInfo byte last_action[MAX_PLAYERS]; boolean changed_action; boolean collected_item; + + boolean save_snapshot; }; struct GameInfo @@ -279,6 +284,8 @@ struct PlayerInfo boolean cannot_move; + boolean force_dropping; /* needed for single step mode */ + int frame_counter_bored; int frame_counter_sleeping; @@ -342,6 +349,8 @@ void DEBUG_SetMaximumDynamite(); void GetPlayerConfig(void); int GetElementFromGroupElement(int); +int getPlayerInventorySize(int); + void DrawGameValue_Time(int); void DrawGameDoorValues(void); @@ -350,7 +359,7 @@ void UpdateAndDisplayGameControlValues(); void InitGameSound(); void InitGame(); -void UpdateEngineValues(int, int); +void UpdateEngineValues(int, int, int, int); void GameWon(void); void GameEnd(void); @@ -364,6 +373,7 @@ void StartGameActions(boolean, boolean, int); void GameActions(void); void GameActions_EM_Main(); void GameActions_SP_Main(); +void GameActions_MM_Main(); void GameActions_RND_Main(); void GameActions_RND(); @@ -386,7 +396,8 @@ void FreeEngineSnapshotSingle(); void FreeEngineSnapshotList(); void LoadEngineSnapshotSingle(); void SaveEngineSnapshotSingle(); -boolean SaveEngineSnapshotToList(); +boolean CheckSaveEngineSnapshotToList(); +void SaveEngineSnapshotToList(); void SaveEngineSnapshotToListInitial(); boolean CheckEngineSnapshotSingle(); boolean CheckEngineSnapshotList();