X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_bd%2Fmain_bd.h;h=d14b9c4c07982ac9f17adc45ee344b4f4e30b531;hb=b4f920dc8d374025768ed93a77079a014392eb35;hp=bf4be3a8b413f04339263d37e1fd349f8fe9e7d2;hpb=08097448ca93da43b5f12df9fd180c2375eb6018;p=rocksndiamonds.git diff --git a/src/game_bd/main_bd.h b/src/game_bd/main_bd.h index bf4be3a8..d14b9c4c 100644 --- a/src/game_bd/main_bd.h +++ b/src/game_bd/main_bd.h @@ -30,10 +30,41 @@ // 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_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 // ----------------------------------------------------------------------------