- "titlescreen_{1-5}.anim_mode: {fade,crossfade}
default is using normal fading for menues and initial title screens,
while using cross-fading for level set title screens
+ * fixed bug with background not drawn in Hall of Fame after game was won
2006-10-18
* added configuration directives for the remaining main menu items
{
UnmapAllGadgets();
FadeSoundsAndMusic();
+
+ /* (this is needed when called from GameEnd() after winning a game) */
+ KeyboardAutoRepeatOn();
+ ActivateJoystick();
+
+ /* (this is needed when called from GameEnd() after winning a game) */
+ SetDrawDeactivationMask(REDRAW_NONE);
+ SetDrawBackgroundMask(REDRAW_FIELD);
+
CloseDoor(DOOR_CLOSE_2);
if (highlight_position < 0)
void DrawBackground(int dst_x, int dst_y, int width, int height)
{
-#if 1
+ /* !!! "drawto" might still point to playfield buffer here (see below) !!! */
+ /* (when entering hall of fame after playing) */
+#if 0
ClearRectangleOnBackground(drawto, dst_x, dst_y, width, height);
#else
ClearRectangleOnBackground(backbuffer, dst_x, dst_y, width, height);
void ClearWindow()
{
+ /* !!! "drawto" might still point to playfield buffer here (see above) !!! */
+ /* (when entering hall of fame after playing) */
DrawBackground(REAL_SX, REAL_SY, FULL_SXSIZE, FULL_SYSIZE);
+ /* !!! maybe this should be done before clearing the background !!! */
if (setup.soft_scrolling && game_status == GAME_MODE_PLAYING)
{
ClearRectangle(fieldbuffer, 0, 0, FXSIZE, FYSIZE);