mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-25 21:14:22 +01:00
Dialogue when saving
This commit is contained in:
parent
42ef9f67c6
commit
dc10b6d1a6
@ -13,6 +13,17 @@ const char *exit_dialogue_messages[8] = {
|
||||
NULL
|
||||
};
|
||||
|
||||
const char *save_state_done[8] = {
|
||||
/*00*/ "Game state saved!",
|
||||
/*01*/ "#",
|
||||
/*02*/ "#", /* Empty line */
|
||||
/*03*/ "#",
|
||||
/*04*/ "#",
|
||||
/*05*/ "#",
|
||||
/*06*/ "^|OK",
|
||||
NULL
|
||||
};
|
||||
|
||||
const char *network_port_dialogue_messages[8] = {
|
||||
/*00*/ "Please supply a number as",
|
||||
/*01*/ "network port.",
|
||||
|
@ -21,5 +21,6 @@ extern const char *broken_theme_dlg[];
|
||||
extern const char *select_analogue_dlg[];
|
||||
extern const char *game_info_bad_year_dlg[];
|
||||
extern const char *game_info_bad_number_dlg[];
|
||||
extern const char *save_state_done[];
|
||||
|
||||
#endif
|
||||
|
@ -175,6 +175,8 @@ void SaveGameView::saveSnapshot()
|
||||
Gui::gui->saveGameInfo(Gui::gui->save_game_path, out_name);
|
||||
ThePrefs.Save(prefs_name);
|
||||
|
||||
Gui::gui->pushDialogueBox(new DialogueBox(save_state_done));
|
||||
|
||||
free(save);
|
||||
free(prefs_name);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user