{
SetGameStatus(GAME_MODE_TITLE);
+ UnmapAllGadgets();
+
DrawTitleScreen();
}
{
SetMainBackgroundImageIfDefined(IMG_BACKGROUND_INFO_ELEMENTS);
+ UnmapAllGadgets();
FadeInfoSoundsAndMusic();
FadeOut(REDRAW_FIELD);
{
SetMainBackgroundImageIfDefined(IMG_BACKGROUND_INFO_MUSIC);
+ UnmapAllGadgets();
+
FadeOut(REDRAW_FIELD);
ClearField();
SetMainBackgroundImageIfDefined(IMG_BACKGROUND_INFO_VERSION);
+ UnmapAllGadgets();
FadeInfoSoundsAndMusic();
FadeOut(REDRAW_FIELD);
{
SetMainBackgroundImageIfDefined(getInfoScreenBackgroundImage_Generic());
+ UnmapAllGadgets();
FadeInfoSoundsAndMusic();
FadeOut(REDRAW_FIELD);
{
// store level set if chosen from "last played level set" menu
StoreLastPlayedLevels(leveldir_current);
+
+ // store if level set chosen from "last played level set" menu
+ SaveLevelSetup_LastSeries();
}
else if (game_status == GAME_MODE_NAMES)
{
void HandleGameActions(void)
{
- if (setup.ask_on_game_over)
- CheckGameOver();
-
- if (game.restart_game_message != NULL)
- {
- RequestRestartGame(game.restart_game_message);
-
+ if (CheckRestartGame())
return;
- }
if (game_status != GAME_MODE_PLAYING)
return;