X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.h;h=92ab3451d4a3d65fe75d15d5bf95d41d90bda541;hb=2dfebdae62bb9c56904025e6bfb9f1f931745ac0;hp=c7e70c315d2cd08b697e85dd52b9e0870befafe2;hpb=d622dbaa8d28574914b62457bdc518ca70b3ee21;p=rocksndiamonds.git diff --git a/src/game.h b/src/game.h index c7e70c31..92ab3451 100644 --- a/src/game.h +++ b/src/game.h @@ -14,12 +14,25 @@ #ifndef GAME_H #define GAME_H +/* (not included here due to collisions with Emerald Mine engine definitions) */ +/* #include "main.h" */ #define MAX_INVENTORY_SIZE 1000 #define STD_NUM_KEYS 4 #define MAX_NUM_KEYS 8 +#if 1 +struct GamePanelInfo +{ + struct TextPosInfo level; + struct TextPosInfo gems; + struct TextPosInfo inventory; + struct TextPosInfo keys; + struct TextPosInfo score; + struct TextPosInfo time; +}; +#else struct GamePanelInfo { struct XY level; @@ -29,6 +42,7 @@ struct GamePanelInfo struct XY score; struct XY time; }; +#endif struct GameInfo { @@ -128,7 +142,9 @@ struct PlayerInfo boolean LevelSolved, GameOver; + boolean LevelSolved_GameWon; boolean LevelSolved_GameEnd; + boolean LevelSolved_PanelOff; boolean LevelSolved_SaveTape; boolean LevelSolved_SaveScore; @@ -194,6 +210,7 @@ struct PlayerInfo int lights_still_needed; int friends_still_needed; int key[MAX_NUM_KEYS]; + int num_white_keys; int dynabomb_count, dynabomb_size, dynabombs_left, dynabomb_xl; int shield_normal_time_left; int shield_deadly_time_left; @@ -241,6 +258,8 @@ void PlayLevelSound_EM(int, int, int, int); void RaiseScore(int); void RaiseScoreElement(int); + +void RequestQuitGameExt(boolean, boolean, char *); void RequestQuitGame(boolean); unsigned int InitEngineRandom_RND(long);