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 // ============================================================================
20 #include "bd_elements.h"
23 // ----------------------------------------------------------------------------
24 // constant definitions
25 // ----------------------------------------------------------------------------
27 #define BD_MAX_CAVE_WIDTH MAX_PLAYFIELD_WIDTH
28 #define BD_MAX_CAVE_HEIGHT MAX_PLAYFIELD_HEIGHT
31 // ----------------------------------------------------------------------------
32 // data structure definitions
33 // ----------------------------------------------------------------------------
40 // needed for updating panel
42 int gems_still_needed;
51 int cave[BD_MAX_CAVE_WIDTH][BD_MAX_CAVE_HEIGHT];
54 struct EngineSnapshotInfo_BD
59 // ----------------------------------------------------------------------------
61 // ----------------------------------------------------------------------------
63 extern struct GameInfo_BD game_bd;
64 extern struct LevelInfo_BD native_bd_level;
65 extern struct EngineSnapshotInfo_BD engine_snapshot_bd;
67 void setLevelInfoToDefaults_BD(void);