summaryrefslogtreecommitdiff
path: root/functions.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
commita948fcb6055b5aaf3086913a96e623296d62ef37 (patch)
tree770995fa006874ecf7f11983a589bd239a3e85a0 /functions.h
parentacf442102a19ef8cb27f6dbc22668e39d4d59af4 (diff)
downloadopenttd-a948fcb6055b5aaf3086913a96e623296d62ef37.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 'functions.h')
-rw-r--r--functions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions.h b/functions.h
index 3c4af9c3c..073a85517 100644
--- a/functions.h
+++ b/functions.h
@@ -276,4 +276,5 @@ int ttd_main(int argc, char* argv[]);
void DeterminePaths(void);
void bubblesort(void *base, size_t nmemb, size_t size, int(*compar)(const void *, const void *));
+void CSleep(int milliseconds);
#endif /* FUNCTIONS_H */