X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_bd%2Fexport.h;h=07d3ff3f12b0c51050e3dd4a392072c4ef62a515;hb=b7405ce411200d7f0ed642d3178ef773ff88d2b7;hp=54a85d5aee5cf9167fc6e7bd7f13e05979751365;hpb=a8363446190d9cc0c712749d0e3610c8485fdfb3;p=rocksndiamonds.git diff --git a/src/game_bd/export.h b/src/game_bd/export.h index 54a85d5a..07d3ff3f 100644 --- a/src/game_bd/export.h +++ b/src/game_bd/export.h @@ -5,11 +5,13 @@ // functions and definitions exported from game_bd to main program // ============================================================================ + // ---------------------------------------------------------------------------- // constant definitions // ---------------------------------------------------------------------------- -// ... +#define BD_MAX_CAVE_WIDTH MAX_PLAYFIELD_WIDTH +#define BD_MAX_CAVE_HEIGHT MAX_PLAYFIELD_HEIGHT // ---------------------------------------------------------------------------- @@ -18,10 +20,21 @@ struct GameInfo_BD { + boolean level_solved; + boolean game_over; + + // needed for updating panel + int time_played; + int gems_still_needed; + int score; }; struct LevelInfo_BD { + int width; + int height; + + int cave[BD_MAX_CAVE_WIDTH][BD_MAX_CAVE_HEIGHT]; }; struct EngineSnapshotInfo_BD