}
if (!level->extro_filename.empty())
- { // Display final credits and go back to the main menu
+ {
+ MusicRef theme =
+ music_manager->load_music(datadir + "/music/theme.mod");
+ music_manager->play_music(theme);
+ // Display final credits and go back to the main menu
display_text_file(level->extro_filename,
- "/images/background/extro.jpg");
+ "/images/background/extro.jpg", SCROLL_SPEED_MESSAGE);
display_text_file("CREDITS",
- "/images/background/oiltux.jpg");
+ "/images/background/oiltux.jpg", SCROLL_SPEED_CREDITS);
quit = true;
}
}
break;
case GameSession::GAME_OVER:
quit = true;
- player_status.bonus = PlayerStatus::NO_BONUS;
+ player_status.reset();
break;
case GameSession::NONE:
// Should never be reached
{
case MNID_RETURNWORLDMAP: // Return to game
break;
- case MNID_SAVEGAME:
- if (!savegame_file.empty())
- savegame(savegame_file);
- break;
-
case MNID_QUITWORLDMAP: // Quit Worldmap
quit = true;
break;
if (player_status.lives >= 5)
{
sprintf(str, "%dx", player_status.lives);
- gold_text->draw(str, 585, 0);
+ gold_text->draw_align(str, 617, 0, A_RIGHT, A_TOP);
tux_life->draw(565+(18*3), 0);
}
else