X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2Fmain_sp.h;h=008afa319562d3ab84a781ae6b70b84e2fa00194;hb=c14ddc8b933f45b1fb02e0fe5a7637655b88f90a;hp=d9294194132c2bf45cafe567410fcba0ef5b0de1;hpb=79d7ca29718d025ed0b131bf5389685fe9b941c4;p=rocksndiamonds.git diff --git a/src/game_sp/main_sp.h b/src/game_sp/main_sp.h index d9294194..008afa31 100644 --- a/src/game_sp/main_sp.h +++ b/src/game_sp/main_sp.h @@ -40,8 +40,8 @@ #define SCR_MENUY 12 #define SCR_FIELDX 17 #define SCR_FIELDY 17 -#define MAX_BUF_XSIZE (SCR_FIELDX + 2) -#define MAX_BUF_YSIZE (SCR_FIELDY + 2) +#define MAX_BUF_XSIZE (2 + SCR_FIELDX + 2) +#define MAX_BUF_YSIZE (2 + SCR_FIELDY + 2) /* often used screen positions */ #define SX 8 @@ -49,6 +49,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 */