Allow setting autosave interval to a custom number of real-time minutes

This commit is contained in:
Jonathan G Rennison
2021-12-14 18:48:57 +00:00
parent 583663bca1
commit 7953a1f8d1
6 changed files with 48 additions and 4 deletions

View File

@@ -148,6 +148,7 @@ struct GUISettings : public TimeSettings {
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
uint16 autosave_custom_minutes; ///< custom autosave interval in real-time minutes
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?"