{ "border.draw_masked.PLAYING", "false" },
{ "border.draw_masked.DOOR", "false" },
+ { "border.draw_masked_when_fading", "true" },
+
{ "menu.enter_menu.fade_mode", "none" },
{ "menu.enter_menu.fade_delay", "250" },
{ "menu.enter_menu.post_delay", "125" },
"border.draw_masked.DOOR",
&border.draw_masked[GFX_SPECIAL_ARG_DOOR]
},
+ {
+ "border.draw_masked_when_fading",
+ &border.draw_masked_when_fading
+ },
{
"menu.enter_menu.fade_mode",
&menu.enter_menu.fade_mode
-#define COMPILE_DATE_STRING "2007-04-18 19:50"
+#define COMPILE_DATE_STRING "2007-04-20 00:04"
}
if (steps_done >= steps_final)
+ {
+ if (draw_border_function != NULL)
+ draw_border_function();
+
SDL_UpdateRect(surface_screen, dst_x, dst_y, width, height);
+ }
}
}
else
struct BorderInfo
{
boolean draw_masked[NUM_SPECIAL_GFX_ARGS];
+ boolean draw_masked_when_fading;
};
struct MenuMainButtonInfo
fade_delay = fading.fade_delay;
post_delay = (fade_mode == FADE_MODE_FADE_OUT ? fading.post_delay : 0);
- draw_border_function = DrawMaskedBorder_FIELD;
+ if (border.draw_masked_when_fading)
+ draw_border_function = DrawMaskedBorder_FIELD; /* update when fading */
+ else
+ DrawMaskedBorder_FIELD(); /* draw once */
}
else /* REDRAW_ALL */
{
void FadeIn(int fade_mask)
{
+#if 0
global.border_status = game_status;
+#endif
#if 0
global.fading_status = game_status;
FadeExt(fade_mask, FADE_MODE_FADE_OUT);
#endif
#endif
+
+#if 1
+ global.border_status = game_status;
+#endif
}
void FadeCross(int fade_mask)