Feature #986: Automatic save when losing connection to a network game

This commit is contained in:
Niels Martin Hansen
2018-05-24 19:40:54 +02:00
committed by Michael Lutz
parent 11ba094582
commit 4fb76db42f
4 changed files with 30 additions and 0 deletions

View File

@@ -114,6 +114,7 @@ struct GUISettings {
bool threaded_saves; ///< should we do threaded saves?
bool keep_all_autosave; ///< name the autosave in a different way
bool autosave_on_exit; ///< save an autosave when you quit the game, but do not ask "Do you really want to quit?"
bool autosave_on_network_disconnect; ///< save an autosave when you get disconnected from a network game with an error?
uint8 date_format_in_default_names; ///< should the default savegame/screenshot name use long dates (31th Dec 2008), short dates (31-12-2008) or ISO dates (2008-12-31)
byte max_num_autosaves; ///< controls how many autosavegames are made before the game starts to overwrite (names them 0 to max_num_autosaves - 1)
bool population_in_label; ///< show the population of a town in his label?