os2.c
changeset 2167 99d31f4eeb37
parent 2099 22f535ad9eea
child 2175 c29911d0d400
--- a/os2.c	Fri Jul 22 15:12:51 2005 +0000
+++ b/os2.c	Fri Jul 22 16:14:24 2005 +0000
@@ -1,11 +1,15 @@
 #include "stdafx.h"
 #include "openttd.h"
+#include "variables.h"
 #include "window.h"
 #include "string.h"
 #include "table/strings.h"
 #include "hal.h"
 #include "gfx.h"
 #include "gui.h"
+#include "saveload.h"
+#include "functions.h"
+#include "macros.h"
 
 #include <direct.h>
 #include <unistd.h>
@@ -25,6 +29,8 @@
 #include <os2.h>
 #include <os2me.h>
 
+#include <i86.h>
+
 #if defined(WITH_SDL)
 #include <SDL.h>
 #endif
@@ -772,3 +778,9 @@
 
 	DosWaitThread(&thread1, DCWW_WAIT);
 }
+
+void CSleep(int milliseconds)
+{
+	delay(milliseconds);
+}
+