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

@@ -68,7 +68,7 @@ void WaitTillSaved();
void ProcessAsyncSaveFinish();
void DoExitSave();
void DoAutoOrNetsave(FiosNumberedSaveName &counter, bool threaded);
void DoAutoOrNetsave(FiosNumberedSaveName &counter, bool threaded, FiosNumberedSaveName *lt_counter = nullptr);
SaveOrLoadResult SaveWithFilter(struct SaveFilter *writer, bool threaded, SaveModeFlags flags);
SaveOrLoadResult LoadWithFilter(struct LoadFilter *reader);