2006-04-30
* fixed bug that forced re-defining of menu settings in local graphics
config file which are already defined in existing base config file
+ * fixed small bug that caused door sounds playing when music is enabled
2006-04-29
* added the possibility to define up to five title screens for each
if (width > WIN_XSIZE)
{
+ /* image width too large for window => center image horizontally */
src_x = (width - WIN_XSIZE) / 2;
width = WIN_XSIZE;
}
if (height > WIN_YSIZE)
{
+ /* image height too large for window => center image vertically */
src_y = (height - WIN_YSIZE) / 2;
height = WIN_YSIZE;
}
boolean return_to_main_menu = FALSE;
boolean use_fading_main_menu = TRUE;
boolean use_cross_fading = TRUE;
- int fade_delay = 1000;
- int post_delay = 500;
+ int fade_delay = 500;
+ int post_delay = fade_delay / 2;
if (button == MB_MENU_INITIALIZE)
{
}
else
{
+ FadeSoundsAndMusic();
+
FadeOut(fade_delay, post_delay);
return_to_main_menu = TRUE;