+
+
+ if (1 && game_status == PLAYING)
+ {
+ static boolean last_frame_skipped = 0;
+ int fps_slowdown_factor = 2;
+ boolean skip_even_when_not_scrolling = 1;
+ boolean just_scrolling = (ScreenMovDir != 0);
+ boolean p = 0;
+
+ /*
+ printf("ScreenMovDir = %d\n", ScreenMovDir);
+ */
+
+ /*
+ printf("ScreenGfxPos = %d\n", ScreenGfxPos);
+ */
+
+ if (fps_slowdown_factor > 1 &&
+ (FrameCounter % fps_slowdown_factor) &&
+ (just_scrolling || skip_even_when_not_scrolling))
+ {
+ redraw_mask &= ~REDRAW_MAIN;
+
+ if (p)
+ printf("FRAME SKIPPED\n");
+
+ last_frame_skipped = 1;
+ }
+ else
+ {
+ if (last_frame_skipped)
+ redraw_mask |= REDRAW_FIELD;
+
+ last_frame_skipped = 0;
+
+ if (p)
+ printf("frame not skipped\n");
+ }
+ }
+
+
+