X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fmain.h;h=34f8bcbf72ba2470331274e0ed08e48ad836cc80;hp=e5631b498394ca6a22baa79ed7dd221e07e658a8;hb=90bf2712051fd9dd255f3269891daec81f746566;hpb=fe43dcf8ac7fb16e80d60a0c187bcbd65f40b5f2 diff --git a/src/main.h b/src/main.h index e5631b49..34f8bcbf 100644 --- a/src/main.h +++ b/src/main.h @@ -31,6 +31,8 @@ #include "conf_mus.h" /* include auto-generated data structure definitions */ +#define NEW_SCROLL 0 + #define IMG_UNDEFINED (-1) #define IMG_EMPTY IMG_EMPTY_SPACE #define IMG_SP_EMPTY IMG_EMPTY_SPACE @@ -2827,7 +2829,11 @@ extern SDL_Thread *server_thread; extern int key_joystick_mapping; #if 1 +#if NEW_SCROLL +extern boolean redraw[2 + MAX_LEV_FIELDX + 2][2 + MAX_LEV_FIELDY + 2]; +#else extern boolean redraw[MAX_LEV_FIELDX + 2][MAX_LEV_FIELDY + 2]; +#endif #else extern boolean redraw[MAX_BUF_XSIZE][MAX_BUF_YSIZE]; #endif