(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.
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user