From: Holger Schemel Date: Mon, 3 Jan 2005 19:50:41 +0000 (+0100) Subject: rnd-20050103-2-src X-Git-Tag: 3.1.1^2~33 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=9c0c633869d5db86bf7a7405d8b543497eb7ecb1;p=rocksndiamonds.git rnd-20050103-2-src * fixed some redraw bugs when using EM engine --- 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) {