summaryrefslogtreecommitdiff
path: root/src/saveload/saveload.h
diff options
context:
space:
mode:
authorStephan <5377412+Taschi120@users.noreply.github.com>2021-07-09 21:44:02 +0200
committerGitHub <noreply@github.com>2021-07-09 21:44:02 +0200
commita70aa5df4938a6a4459690c4666a5c39a3f5bf98 (patch)
treeb5296b3077a2268dda8394bfc0745dac81d3345a /src/saveload/saveload.h
parentce813ce644c58bbf07509eb8c409ec60512deaf0 (diff)
downloadopenttd-a70aa5df4938a6a4459690c4666a5c39a3f5bf98.tar.xz
Add #9188: netsave now keeps multiple version around, similar to autosave (#9395)
Diffstat (limited to 'src/saveload/saveload.h')
-rw-r--r--src/saveload/saveload.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/saveload/saveload.h b/src/saveload/saveload.h
index 7fc802713..d79bc1416 100644
--- a/src/saveload/saveload.h
+++ b/src/saveload/saveload.h
@@ -381,6 +381,8 @@ void WaitTillSaved();
void ProcessAsyncSaveFinish();
void DoExitSave();
+void DoAutoOrNetsave(int &counter, bool netsave = false);
+
SaveOrLoadResult SaveWithFilter(struct SaveFilter *writer, bool threaded);
SaveOrLoadResult LoadWithFilter(struct LoadFilter *reader);