X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_bd%2Fmain_bd.h;h=5ae28e200c9d89ebc84af197e2790f77bafa4ac4;hb=b377a0cc25c12922edb0e92050a552b86e5f7f3a;hp=65407b6a374ce435970f53e836421dddd63f3003;hpb=727a0d14dd73f3aaf539c6e3e2efc67c3d2b71e8;p=rocksndiamonds.git diff --git a/src/game_bd/main_bd.h b/src/game_bd/main_bd.h index 65407b6a..5ae28e20 100644 --- a/src/game_bd/main_bd.h +++ b/src/game_bd/main_bd.h @@ -1,3 +1,14 @@ +// ============================================================================ +// Rocks'n'Diamonds - McDuffin Strikes Back! +// ---------------------------------------------------------------------------- +// (c) 1995-2024 by Artsoft Entertainment +// Holger Schemel +// info@artsoft.org +// https://www.artsoft.org/ +// ---------------------------------------------------------------------------- +// main_bd.h +// ============================================================================ + #ifndef MAIN_BD_H #define MAIN_BD_H @@ -5,7 +16,7 @@ // external functions and definitions imported from main program to game_bd // ============================================================================ -#include "../engines.h" +#include "import_bd.h" // ============================================================================ @@ -19,10 +30,42 @@ // internal functions and definitions that are not exported to main program // ============================================================================ +#include "bd_bdcff.h" +#include "bd_cave.h" +#include "bd_cavedb.h" +#include "bd_caveset.h" +#include "bd_caveobject.h" +#include "bd_caveengine.h" +#include "bd_gameplay.h" +#include "bd_c64import.h" +#include "bd_graphics.h" +#include "bd_random.h" +#include "bd_sound.h" + + // ---------------------------------------------------------------------------- // constant definitions // ---------------------------------------------------------------------------- +/* screen sizes and positions for BD engine */ + +#define TILESIZE 32 + +extern int TILESIZE_VAR; + +#define TILEX TILESIZE_VAR +#define TILEY TILESIZE_VAR + +extern int SCR_FIELDX, SCR_FIELDY; + +/* often used screen positions */ + +extern int SX, SY; + +#define SXSIZE (SCR_FIELDX * TILEX) +#define SYSIZE (SCR_FIELDY * TILEY) + + // ---------------------------------------------------------------------------- // data structure definitions // ----------------------------------------------------------------------------