mirror of https://github.com/OpenTTD/OpenTTD
There are two fundamental issues with autosave: - When fast-forwarding, it saves way too often - When paused, it never saves Both makes no sense. Autosaves are meant to prevent you from accidentally losing your work. The emphasis on "your" work. To solve both issues, the autosave now works on real time. You can select every 10 / 30 / 60 / 120 minutes, which are similar to what the setting was in game-months. When you pause, autosaving will stop. Unless you make any change to the game; then it will continue to make autosaves, even so the game is paused. Unpausing / pausing resets this mechanism. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
timer.h | ||
timer_game_calendar.cpp | ||
timer_game_calendar.h | ||
timer_game_realtime.cpp | ||
timer_game_realtime.h | ||
timer_game_tick.cpp | ||
timer_game_tick.h | ||
timer_manager.h | ||
timer_window.cpp | ||
timer_window.h |