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 // external functions and definitions imported from main program to game_bd
17 // ============================================================================
19 #include "import_bd.h"
22 // ============================================================================
23 // functions and definitions that are exported from game_bd to main program
24 // ============================================================================
26 #include "export_bd.h"
29 // ============================================================================
30 // internal functions and definitions that are not exported to main program
31 // ============================================================================
35 #include "bd_cavedb.h"
36 #include "bd_caveset.h"
37 #include "bd_caveobject.h"
38 #include "bd_caveengine.h"
39 #include "bd_gameplay.h"
40 #include "bd_c64import.h"
41 #include "bd_graphics.h"
45 // ----------------------------------------------------------------------------
46 // constant definitions
47 // ----------------------------------------------------------------------------
49 /* screen sizes and positions for BD engine */
51 extern int TILESIZE_VAR;
53 #define TILEX TILESIZE_VAR
54 #define TILEY TILESIZE_VAR
56 extern int SCR_FIELDX, SCR_FIELDY;
58 /* often used screen positions */
62 #define SXSIZE (SCR_FIELDX * TILEX)
63 #define SYSIZE (SCR_FIELDY * TILEY)
66 // ----------------------------------------------------------------------------
67 // data structure definitions
68 // ----------------------------------------------------------------------------
70 // ----------------------------------------------------------------------------
72 // ----------------------------------------------------------------------------
74 // ----------------------------------------------------------------------------
76 // ----------------------------------------------------------------------------