From 9c0c633869d5db86bf7a7405d8b543497eb7ecb1 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 3 Jan 2005 20:50:41 +0100 Subject: [PATCH] rnd-20050103-2-src * fixed some redraw bugs when using EM engine --- ChangeLog | 3 +++ src/conftime.h | 2 +- src/screens.c | 1 + src/tools.c | 7 ++----- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index e9a6fa7a..c6608200 100644 --- 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 diff --git a/src/conftime.h b/src/conftime.h index 87343c6c..74224835 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "[2005-01-03 01:18]" +#define COMPILE_DATE_STRING "[2005-01-03 20:46]" diff --git a/src/screens.c b/src/screens.c index 212a75ca..0926bb99 100644 --- a/src/screens.c +++ b/src/screens.c @@ -3010,6 +3010,7 @@ void HandleGameActions() DrawVideoDisplay(VIDEO_STATE_TIME_ON, TapeTime); } + FrameCounter++; TimeFrames++; BackToFront(); diff --git a/src/tools.c b/src/tools.c index 1f857f6b..badbb81e 100644 --- a/src/tools.c +++ b/src/tools.c @@ -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) { -- 2.34.1