*/
// sys_win.c -- Win32 system interface code
-#include "quakedef.h"
#include <windows.h>
#include <mmsystem.h>
+#include <direct.h>
#ifdef SUPPORTDIRECTX
#include <dsound.h>
#endif
+
+#include "qtypes.h"
+
+#include "quakedef.h"
#include "errno.h"
#include "resource.h"
#include "conproc.h"
-#include "direct.h"
-
-cvar_t sys_usetimegettime = {CVAR_SAVE, "sys_usetimegettime", "1", "use windows timeGetTime function (which has issues on some motherboards) for timing rather than QueryPerformanceCounter timer (which has issues on multicore/multiprocessor machines and processors which are designed to conserve power)"};
HANDLE hinput, houtput;
return NULL;
}
-double Sys_DoubleTime (void)
-{
- return Sys_DoubleTime_Shared();
-}
-
-void Sys_Sleep(int microseconds)
-{
- Sys_Sleep_Shared(microseconds);
-}
-
char *Sys_GetClipboardData (void)
{
char *data = NULL;
}
}
+ Sys_ProvideSelfFD();
+
Host_Main();
/* return success of application */