scores.next_level_nr = level_nr;
// cover screen before loading next level (which may have different size and color)
- if (game_bd.cover_screen)
- CoverScreen_BD();
+ CoverScreen();
LoadLevel(level_nr);
global.border_status = GAME_MODE_PLAYING;
}
+void CoverScreen(void)
+{
+ if (level.game_engine_type == GAME_ENGINE_TYPE_BD && game_bd.cover_screen)
+ CoverScreen_BD();
+}
+
void FadeIn(int fade_mask)
{
SetScreenStates_BeforeFadingIn();
BackToFront();
// when using BD game engine, cover playfield before fading out after a game
- if (game_bd.cover_screen)
- CoverScreen_BD();
+ CoverScreen();
SetScreenStates_BeforeFadingOut();