fixed and enhanced screen fading and global border handling (continued)
[rocksndiamonds.git] / src / main.c
index 683276e94c6d672a07c5c435f3c474eb344c04c1..aa45c472d7e1f2909e0e405fc69c1e811bc915ad 100644 (file)
@@ -41,9 +41,6 @@ SDL_Thread           *server_thread;
 
 int                    key_joystick_mapping = 0;
 
-boolean                        redraw[2 + MAX_LEV_FIELDX + 2][2 + MAX_LEV_FIELDY + 2];
-int                    redraw_x1 = 0, redraw_y1 = 0;
-
 short                  Feld[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
 short                  MovPos[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
 short                  MovDir[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
@@ -104,6 +101,10 @@ int                        FULL_SYSIZE = 2 + SYSIZE_DEFAULT + 2;
 int                    SXSIZE = SXSIZE_DEFAULT;
 int                    SYSIZE = SYSIZE_DEFAULT;
 
+int                    FADE_SX = 6, FADE_SY = 6;
+int                    FADE_SXSIZE = 2 + SXSIZE_DEFAULT + 2;
+int                    FADE_SYSIZE = 2 + SXSIZE_DEFAULT + 2;
+
 int                    DXSIZE = 100;
 int                    DYSIZE = 280;
 int                    VXSIZE = 100;