+
+
+ /*
+ if (ScreenMovPos && redraw_mask & REDRAW_FIELD)
+ {
+ redraw_mask |= REDRAW_FIELD;
+
+ printf("FULL SCREEN REDRAW FORCED by ScreenMovPos == %d\n", ScreenMovPos);
+ }
+ */
+
+
+
+ /*
+ if (ScreenMovPos && redraw_mask & REDRAW_TILES)
+ {
+ redraw_mask |= REDRAW_FIELD;
+
+ printf("FULL SCREEN REDRAW FORCED by ScreenMovPos == %d\n", ScreenMovPos);
+ }
+ */
+
+
+ /*
+ if (ScreenMovPos && !(redraw_mask & REDRAW_FIELD))
+ {
+ printf("OOPS!\n");
+
+ *((int *)NULL) = 0;
+ }
+ */
+
+ /*
+ if (IN_SCR_FIELD(JX2,JY2))
+ redraw[redraw_x1 + JX2][redraw_y1 + JY2] = 0;
+ */
+
+
+ if (redraw_mask & REDRAW_TILES && redraw_tiles > REDRAWTILES_THRESHOLD)
+ redraw_mask |= REDRAW_FIELD;
+
+ if (redraw_mask & REDRAW_FIELD)
+ redraw_mask &= ~REDRAW_TILES;
+
+ /*
+ {
+ static int lastFrame = 0;
+
+ printf("FrameCounter: %d\n", FrameCounter);
+
+ if (FrameCounter != lastFrame + 1)
+ {
+ printf("SYNC LOST! <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n");
+
+ if (FrameCounter > 100)
+ *((int *)NULL) = 0;
+ }
+
+ lastFrame = FrameCounter;
+ }
+ */
+