Allow setting autosave interval to a custom number of days

This commit is contained in:
Jonathan G Rennison
2021-12-14 18:08:06 +00:00
parent 670dbc739d
commit 583663bca1
7 changed files with 87 additions and 6 deletions

View File

@@ -147,6 +147,7 @@ struct GUISettings : public TimeSettings {
ZoomLevel zoom_max; ///< maximum zoom out level
ZoomLevel sprite_zoom_min; ///< maximum zoom level at which higher-resolution alternative sprites will be used (if available) instead of scaling a lower resolution sprite
byte autosave; ///< how often should we do autosaves?
uint16 autosave_custom_days; ///< custom autosave interval in days
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?"