1018cb23bc50a68fdb553625b74166e20e42dffd
[rocksndiamonds.git] / src / game_bd / main_bd.h
1 // ============================================================================
2 // Rocks'n'Diamonds - McDuffin Strikes Back!
3 // ----------------------------------------------------------------------------
4 // (c) 1995-2024 by Artsoft Entertainment
5 //                  Holger Schemel
6 //                  info@artsoft.org
7 //                  https://www.artsoft.org/
8 // ----------------------------------------------------------------------------
9 // main_bd.h
10 // ============================================================================
11
12 #ifndef MAIN_BD_H
13 #define MAIN_BD_H
14
15 // ============================================================================
16 // external functions and definitions imported from main program to game_bd
17 // ============================================================================
18
19 #include "import_bd.h"
20
21
22 // ============================================================================
23 // functions and definitions that are exported from game_bd to main program
24 // ============================================================================
25
26 #include "export_bd.h"
27
28
29 // ============================================================================
30 // internal functions and definitions that are not exported to main program
31 // ============================================================================
32
33 #include "bd_bdcff.h"
34 #include "bd_cave.h"
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"
42 #include "bd_sound.h"
43
44
45 // ----------------------------------------------------------------------------
46 // constant definitions
47 // ----------------------------------------------------------------------------
48
49 /* screen sizes and positions for BD engine */
50
51 extern int                      TILESIZE_VAR;
52
53 #define TILEX                   TILESIZE_VAR
54 #define TILEY                   TILESIZE_VAR
55
56 extern int                      SCR_FIELDX, SCR_FIELDY;
57
58 /* often used screen positions */
59
60 extern int                      SX, SY;
61
62 #define SXSIZE                  (SCR_FIELDX * TILEX)
63 #define SYSIZE                  (SCR_FIELDY * TILEY)
64
65
66 // ----------------------------------------------------------------------------
67 // data structure definitions
68 // ----------------------------------------------------------------------------
69
70 // ----------------------------------------------------------------------------
71 // exported variables
72 // ----------------------------------------------------------------------------
73
74 // ----------------------------------------------------------------------------
75 // exported functions
76 // ----------------------------------------------------------------------------
77
78 #endif  // MAIN_BD_H