* fixed bug with displaying masked borders over title screens when
screen fading is disabled
+2006-12-02
+ * fixed bug with displaying masked borders over title screens when
+ screen fading is disabled
+
2006-11-25
* fixed infinite loop / crash bug when killing the player while having
a CE with the setting "kill player X when explosion of <player X>"
-#define COMPILE_DATE_STRING "[2006-11-25 15:47]"
+#define COMPILE_DATE_STRING "[2006-12-02 16:27]"
IMG_TITLESCREEN_1);
}
+int effectiveGameStatus()
+{
+ if (game_status == GAME_MODE_INFO && info_mode == INFO_MODE_TITLE)
+ return GAME_MODE_TITLE;
+
+ return game_status;
+}
+
void DrawTitleScreenImage(int nr)
{
int graphic = getTitleScreenGraphic() + nr;
#define SCROLL_PAGE (2 * SCR_FIELDY)
+int effectiveGameStatus();
+
void DrawMainMenuExt(int, boolean);
void DrawAndFadeInMainMenu(int);
void DrawMainMenu(void);
#include "cartoons.h"
#include "network.h"
#include "tape.h"
+#include "screens.h"
/* select level set with EMC X11 graphics before activating EM GFX debugging */
void DrawMaskedBorder(int redraw_mask)
{
+ /* do not draw masked screen borders when displaying title screens */
+ if (effectiveGameStatus() == GAME_MODE_TITLE)
+ return;
+
if (redraw_mask & REDRAW_ALL)
DrawMaskedBorder_ALL();
else