From: Holger Schemel Date: Wed, 1 Nov 2006 20:43:29 +0000 (+0100) Subject: rnd-20061101-2-src X-Git-Tag: 3.2.3^2~13 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=1d7c2baee0f0d0e6db5a4faef51a6edc7a156a17;p=rocksndiamonds.git rnd-20061101-2-src --- diff --git a/src/conftime.h b/src/conftime.h index 8f08f072..6c192f83 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "[2006-11-01 21:07]" +#define COMPILE_DATE_STRING "[2006-11-01 21:41]" diff --git a/src/tools.c b/src/tools.c index 415935a4..e2298073 100644 --- a/src/tools.c +++ b/src/tools.c @@ -314,18 +314,16 @@ void BackToFront() SyncDisplay(); -#if 1 + /* prevent drawing masked border to backbuffer when using playfield buffer */ if (game_status != GAME_MODE_PLAYING || redraw_mask & REDRAW_FROM_BACKBUFFER || buffer == backbuffer) DrawMaskedBorder(redraw_mask); -#endif + else + DrawMaskedBorder(redraw_mask & REDRAW_DOORS); if (redraw_mask & REDRAW_ALL) { -#if 0 - DrawMaskedBorder(REDRAW_ALL); -#endif BlitBitmap(backbuffer, window, 0, 0, WIN_XSIZE, WIN_YSIZE, 0, 0); redraw_mask = REDRAW_NONE; @@ -358,6 +356,7 @@ void BackToFront() { if (buffer != backbuffer) { + /* copy playfield buffer to backbuffer to add masked border */ BlitBitmap(buffer, backbuffer, fx, fy, SXSIZE, SYSIZE, SX, SY); DrawMaskedBorder(REDRAW_FIELD); }