Add setting for long-term autosaves

A second set of autosaves for whenever the main set wraps around to 0
This commit is contained in:
Jonathan G Rennison
2023-07-09 09:44:09 +01:00
parent 688dcc1d74
commit c6c69fa3da
7 changed files with 39 additions and 4 deletions

View File

@@ -178,6 +178,7 @@ struct GUISettings : public TimeSettings {
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)
byte max_num_lt_autosaves; ///< controls how many long-term autosavegames are made before the game starts to overwrite (names them 0 to max_num_lt_autosaves - 1)
uint8 savegame_overwrite_confirm; ///< Mode for when to warn about overwriting an existing savegame
bool population_in_label; ///< show the population of a town in its label?
uint8 right_mouse_btn_emulation; ///< should we emulate right mouse clicking?