equal
deleted
inserted
replaced
1 #include "stdafx.h" |
1 #include "stdafx.h" |
2 #include "openttd.h" |
2 #include "openttd.h" |
|
3 #include "variables.h" |
3 #include "window.h" |
4 #include "window.h" |
4 #include "string.h" |
5 #include "string.h" |
5 #include "table/strings.h" |
6 #include "table/strings.h" |
6 #include "hal.h" |
7 #include "hal.h" |
7 #include "gfx.h" |
8 #include "gfx.h" |
8 #include "gui.h" |
9 #include "gui.h" |
|
10 #include "saveload.h" |
|
11 #include "functions.h" |
|
12 #include "macros.h" |
9 |
13 |
10 #include <direct.h> |
14 #include <direct.h> |
11 #include <unistd.h> |
15 #include <unistd.h> |
12 #include <sys/stat.h> |
16 #include <sys/stat.h> |
13 #include <stdarg.h> |
17 #include <stdarg.h> |
22 #define INCL_WIN |
26 #define INCL_WIN |
23 #define INCL_WINCLIPBOARD |
27 #define INCL_WINCLIPBOARD |
24 |
28 |
25 #include <os2.h> |
29 #include <os2.h> |
26 #include <os2me.h> |
30 #include <os2me.h> |
|
31 |
|
32 #include <i86.h> |
27 |
33 |
28 #if defined(WITH_SDL) |
34 #if defined(WITH_SDL) |
29 #include <SDL.h> |
35 #include <SDL.h> |
30 #endif |
36 #endif |
31 |
37 |
770 if (thread1 == 0) |
776 if (thread1 == 0) |
771 return; |
777 return; |
772 |
778 |
773 DosWaitThread(&thread1, DCWW_WAIT); |
779 DosWaitThread(&thread1, DCWW_WAIT); |
774 } |
780 } |
|
781 |
|
782 void CSleep(int milliseconds) |
|
783 { |
|
784 delay(milliseconds); |
|
785 } |
|
786 |