X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fmain.h;h=26251e847bdb997d14cdd29d87bff2c0945593fe;hb=209871b6f17880f98d41cf7d7953f6bf2227a16c;hp=d794d2372f7cfe5e89b93d1e52e42912194dc7a8;hpb=2357c391b4a587709627cc30316734b3c83c8134;p=rocksndiamonds.git diff --git a/src/main.h b/src/main.h index d794d237..26251e84 100644 --- a/src/main.h +++ b/src/main.h @@ -17,9 +17,9 @@ #include #include #include -#include #include #include +#include #ifndef MSDOS #define XK_MISCELLANY @@ -33,18 +33,23 @@ #include #ifdef XPM_INCLUDE_FILE +#define USE_XPM_LIBRARY #include XPM_INCLUDE_FILE #endif #else /* MSDOS */ #include "msdos.h" #endif /* MSDOS */ +#ifdef DEBUG +#define DEBUG_TIMING 0 +#endif + typedef unsigned char boolean; typedef unsigned char byte; #ifndef FALSE -#define FALSE 0 -#define TRUE (!FALSE) +#define FALSE 0 +#define TRUE (!FALSE) #endif #define WIN_XSIZE 672 @@ -91,32 +96,35 @@ typedef unsigned char byte; #define IN_SCR_FIELD(x,y) ((x)>=BX1 && (x)<=BX2 && (y)>=BY1 &&(y)<=BY2) #define IN_LEV_FIELD(x,y) ((x)>=0 && (x)=0 &&(y)