summaryrefslogtreecommitdiff
path: root/saveload.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-09-02 16:05:59 +0000
committerDarkvater <darkvater@openttd.org>2005-09-02 16:05:59 +0000
commita181446829c3de933ccccffcc652c0c7b19f9968 (patch)
tree770995fa006874ecf7f11983a589bd239a3e85a0 /saveload.h
parentae356b641d0b208e7973ce9c30472909b75fb9af (diff)
downloadopenttd-a181446829c3de933ccccffcc652c0c7b19f9968.tar.xz
(svn r2906) Fix some threaded saving problems. Now the thread only interfaces with the main program through a sort of mutex. Communication uses the function OTTD_SendThreadMessage() with the approiate message which is handled in ProcessSentMessage() during the main loop.
Diffstat (limited to 'saveload.h')
-rw-r--r--saveload.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/saveload.h b/saveload.h
index 78a2b170f..eb869f4e8 100644
--- a/saveload.h
+++ b/saveload.h
@@ -172,4 +172,7 @@ void SlSetLength(size_t length);
void SlWriteByte(byte b);
void SlGlobList(const SaveLoadGlobVarList *desc);
+void SaveFileStart(void);
+void SaveFileDone(void);
+void SaveFileError(void);
#endif /* SAVELOAD_H */