(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:
Darkvater
2005-09-02 16:05:59 +00:00
parent ae356b641d
commit a181446829
8 changed files with 69 additions and 24 deletions

View File

@@ -207,7 +207,6 @@ VARDEF uint8 _network_autoclean_protected; // Unprotect a company after X mont
VARDEF uint16 _network_restart_game_date; // If this year is reached, the server automaticly restarts
NetworkGameList *NetworkQueryServer(const char* host, unsigned short port, bool game_info);
void CSleep(int milliseconds);
#endif /* ENABLE_NETWORK */