From: Holger Schemel Date: Mon, 3 Sep 2007 19:29:39 +0000 (+0200) Subject: rnd-20070903-1-src X-Git-Tag: 3.2.4^2~9 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=0560eac513043ba4cbb18e6490f1d24150e52422;p=rocksndiamonds.git rnd-20070903-1-src * fixed bug with displaying background for title messages on info screen --- diff --git a/ChangeLog b/ChangeLog index 13e3f393..c737527e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2007-09-03 + * fixed bug with displaying background for title messages on info screen + 2007-09-01 * fixed bug with CE action "move player" always resulting in player 4 if there was a CE action with no trigger player (because the player diff --git a/src/conftime.h b/src/conftime.h index aedf8caf..64ad219d 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "2007-09-02 00:58" +#define COMPILE_DATE_STRING "2007-09-03 21:27" diff --git a/src/libgame/system.c b/src/libgame/system.c index e94949d4..9ed186f1 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -267,17 +267,24 @@ void SetBackgroundBitmap(Bitmap *background_bitmap_tile, int mask) void SetWindowBackgroundBitmap(Bitmap *background_bitmap_tile) { + /* remove every mask before setting mask for window */ + /* (!!! TO BE FIXED: The whole REDRAW_* system really sucks! !!!) */ + SetBackgroundBitmap(NULL, 0xffff); /* !!! FIX THIS !!! */ SetBackgroundBitmap(background_bitmap_tile, REDRAW_ALL); } void SetMainBackgroundBitmap(Bitmap *background_bitmap_tile) { + /* remove window area mask before setting mask for main area */ + /* (!!! TO BE FIXED: The whole REDRAW_* system really sucks! !!!) */ SetBackgroundBitmap(NULL, REDRAW_ALL); /* !!! FIX THIS !!! */ SetBackgroundBitmap(background_bitmap_tile, REDRAW_FIELD); } void SetDoorBackgroundBitmap(Bitmap *background_bitmap_tile) { + /* remove window area mask before setting mask for door area */ + /* (!!! TO BE FIXED: The whole REDRAW_* system really sucks! !!!) */ SetBackgroundBitmap(NULL, REDRAW_ALL); /* !!! FIX THIS !!! */ SetBackgroundBitmap(background_bitmap_tile, REDRAW_DOOR_1); }