* fixed bug when fading out to game screen with border mask defined
- panel fonts now use ".PANEL" suffix instead of ".PLAYING" suffix
- panel graphics now use ".PANEL" suffix instead of ".DOOR" suffix
(else graphics would have to use ".PLAYING", which would be confusing)
+ * fixed bug when fading out to game screen with border mask defined
2007-04-02
* added attribute ".tile_size" for element style game panel controls
-#define COMPILE_DATE_STRING "2007-04-03 19:40"
+#define COMPILE_DATE_STRING "2007-04-03 20:17"
local_player->jy - MIDPOSY);
}
+ /* do not use PLAYING mask for fading out from main screen */
+ game_status = GAME_MODE_MAIN;
+
StopAnimation();
if (!game.restart_level)
FadeOut(REDRAW_FIELD);
#endif
+ game_status = GAME_MODE_PLAYING;
+
/* !!! FIX THIS (START) !!! */
if (level.game_engine_type == GAME_ENGINE_TYPE_EM)
{
#if 1
if (global.autoplay_leveldir)
- fading.fade_mode = FADE_MODE_NONE;
+ {
+ // fading.fade_mode = FADE_MODE_NONE;
+
+ return;
+ }
#endif
#if 1
if (fading.fade_mode == FADE_MODE_NONE)
+ {
+ BackToFront();
+
return;
+ }
#endif
if (fade_mask & REDRAW_FIELD)