X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2Fmain_sp.h;h=ff3035a483dd0c2a20ef6f8af10f7f09f1a7ad31;hb=f926e522aef77158e0011ae5ad2cf8805509d6d1;hp=7e0480e2c9f6fea89103b15e52fbfa4329e8571f;hpb=572a4bab20b6f36ef1a4782094b27ac5a703a476;p=rocksndiamonds.git diff --git a/src/game_sp/main_sp.h b/src/game_sp/main_sp.h index 7e0480e2..ff3035a4 100644 --- a/src/game_sp/main_sp.h +++ b/src/game_sp/main_sp.h @@ -6,6 +6,7 @@ /* ========================================================================= */ #include "../engines.h" +#include "../conf_gfx.h" /* ========================================================================= */ @@ -49,6 +50,11 @@ #define SXSIZE (SCR_FIELDX * TILEX) #define SYSIZE (SCR_FIELDY * TILEY) +#define REAL_SX (SX - 2) +#define REAL_SY (SY - 2) +#define FULL_SXSIZE (2 + SXSIZE + 2) +#define FULL_SYSIZE (2 + SYSIZE + 2) + /* ------------------------------------------------------------------------- */ /* data structure definitions */ @@ -64,6 +70,11 @@ extern Bitmap *screenBitmap; extern Bitmap *sp_objects; +extern int GfxElementLast[SP_MAX_PLAYFIELD_WIDTH][SP_MAX_PLAYFIELD_HEIGHT]; +extern int GfxGraphicLast[SP_MAX_PLAYFIELD_WIDTH][SP_MAX_PLAYFIELD_HEIGHT]; +extern int GfxGraphic[SP_MAX_PLAYFIELD_WIDTH][SP_MAX_PLAYFIELD_HEIGHT]; +extern int GfxFrame[SP_MAX_PLAYFIELD_WIDTH][SP_MAX_PLAYFIELD_HEIGHT]; + /* ------------------------------------------------------------------------- */ /* exported functions */