X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fmain.h;h=34f8bcbf72ba2470331274e0ed08e48ad836cc80;hb=90bf2712051fd9dd255f3269891daec81f746566;hp=b37e21c50ebf6c13670763a9f23dd9dff66d0b26;hpb=77ed16f5281022dce4854250c08ec288f37a99e8;p=rocksndiamonds.git diff --git a/src/main.h b/src/main.h index b37e21c5..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 @@ -2466,6 +2468,8 @@ struct GlobalInfo int fading_status; int fading_type; #endif + + boolean use_envelope_request; }; struct ElementChangeInfo @@ -2825,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