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 // ----------------------------------------------------------------------------
37 unsigned int random_seed;
43 // needed for updating panel
45 int gems_still_needed;
57 boolean loaded_from_caveset;
60 struct EngineSnapshotInfo_BD
65 // ----------------------------------------------------------------------------
67 // ----------------------------------------------------------------------------
69 extern struct GameInfo_BD game_bd;
70 extern struct LevelInfo_BD native_bd_level;
71 extern struct EngineSnapshotInfo_BD engine_snapshot_bd;
73 int map_action_BD_to_RND(int);
75 void setLevelInfoToDefaults_BD_Ext(int, int);
76 void setLevelInfoToDefaults_BD(void);