rnd-20050103-2-src
authorHolger Schemel <info@artsoft.org>
Mon, 3 Jan 2005 19:50:41 +0000 (20:50 +0100)
committerHolger Schemel <info@artsoft.org>
Sat, 30 Aug 2014 08:48:37 +0000 (10:48 +0200)
* fixed some redraw bugs when using EM engine

ChangeLog
src/conftime.h
src/screens.c
src/tools.c

index e9a6fa7aaeb9c83e999c6aa15a7e46ff3e463771..c6608200378be548142aff617cff76965a8718ac 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2005-01-03
+       * fixed some redraw bugs when using EM engine
+
 2005-01-02
        * fixed bug with not converting RND levels which are set to use native
          engine to native level structure when loading
index 87343c6cd658cd5f7424852f19c8784ad5f8b09d..74224835aca4c992a10e47e221b9a48d105d7906 100644 (file)
@@ -1 +1 @@
-#define COMPILE_DATE_STRING "[2005-01-03 01:18]"
+#define COMPILE_DATE_STRING "[2005-01-03 20:46]"
index 212a75caac20e87836812bfa27d45410d58d0b2c..0926bb99f7d49ff6e9632b2a6df4875e87ed83c6 100644 (file)
@@ -3010,6 +3010,7 @@ void HandleGameActions()
        DrawVideoDisplay(VIDEO_STATE_TIME_ON, TapeTime);
     }
 
+    FrameCounter++;
     TimeFrames++;
 
     BackToFront();
index 1f857f6bc095190c1d27eff371dd68a85bb66d41..badbb81eb4dd9ea18be487ac69f086c3cf32d685 100644 (file)
@@ -126,12 +126,9 @@ void RedrawPlayfield(boolean force_redraw, int x, int y, int width, int height)
   if (game_status == GAME_MODE_PLAYING &&
       level.game_engine_type == GAME_ENGINE_TYPE_EM)
   {
-    RedrawPlayfield_EM();
-
-    return;
+    BlitScreenToBitmap_EM(backbuffer);
   }
-
-  if (game_status == GAME_MODE_PLAYING && !game.envelope_active)
+  else if (game_status == GAME_MODE_PLAYING && !game.envelope_active)
   {
     if (force_redraw)
     {