1 // ============================================================================
2 // Rocks'n'Diamonds - McDuffin Strikes Back!
3 // ----------------------------------------------------------------------------
4 // (c) 1995-2024 by Artsoft Entertainment
7 // https://www.artsoft.org/
8 // ----------------------------------------------------------------------------
10 // ============================================================================
15 // ============================================================================
16 // functions and definitions exported from game_bd to main program
17 // ============================================================================
19 #include "bd_elements.h"
22 // ----------------------------------------------------------------------------
23 // constant definitions
24 // ----------------------------------------------------------------------------
26 #define BD_MAX_CAVE_WIDTH MAX_PLAYFIELD_WIDTH
27 #define BD_MAX_CAVE_HEIGHT MAX_PLAYFIELD_HEIGHT
30 // ----------------------------------------------------------------------------
31 // data structure definitions
32 // ----------------------------------------------------------------------------
39 // needed for updating panel
41 int gems_still_needed;
50 int cave[BD_MAX_CAVE_WIDTH][BD_MAX_CAVE_HEIGHT];
53 struct EngineSnapshotInfo_BD
58 // ----------------------------------------------------------------------------
60 // ----------------------------------------------------------------------------
62 extern struct GameInfo_BD game_bd;
63 extern struct LevelInfo_BD native_bd_level;
64 extern struct EngineSnapshotInfo_BD engine_snapshot_bd;
66 void setLevelInfoToDefaults_BD(void);