X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fmain.h;h=00d49ab9edc81fbdaf5a73938ec0b4353ef7be4b;hb=240269d614d12d0612cc0764589e6798378e2b8c;hp=c945cec02360582136ce66d7629cc00aec7c70a0;hpb=57bbc28786e5cc6c531b53ef5e29512b1e0b73e8;p=rocksndiamonds.git diff --git a/src/main.h b/src/main.h index c945cec0..00d49ab9 100644 --- a/src/main.h +++ b/src/main.h @@ -71,6 +71,8 @@ typedef unsigned char byte; #define STD_LEV_FIELDY 32 #define MAX_LEV_FIELDX 128 #define MAX_LEV_FIELDY 128 +#define ED_FIELDX (2 * SCR_FIELDX - 1) +#define ED_FIELDY (2 * SCR_FIELDY - 2) #define MAX_PLAYERS 4 @@ -94,6 +96,7 @@ typedef unsigned char byte; #define IN_VIS_FIELD(x,y) ((x)>=0 && (x)=0 &&(y)=BX1 && (x)<=BX2 && (y)>=BY1 &&(y)<=BY2) #define IN_LEV_FIELD(x,y) ((x)>=0 && (x)=0 &&(y)=0 && (x)=0 &&(y)