git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6168
d7cf8633-e32d-0410-b094-
e92efae38249
// rights reserved.
#include <windows.h>
+#include <mmsystem.h>
#include "quakedef.h"
#include "cdaudio.h"
#include "quakedef.h"
#include "snd_main.h"
#include <windows.h>
+#include <mmsystem.h>
#include <dsound.h>
extern HWND mainwindow;
static double oldtime = 0.0, curtime = 0.0;
double newtime;
#ifdef WIN32
+#include <mmsystem.h>
// LordHavoc: note to people modifying this code, DWORD is specifically defined as an unsigned 32bit number, therefore the 65536.0 * 65536.0 is fine.
if (sys_usetimegettime.integer)
{
#include "quakedef.h"
#include <windows.h>
+#include <mmsystem.h>
#include <dsound.h>
#include "errno.h"
#include "resource.h"
hinput = GetStdHandle (STD_INPUT_HANDLE);
houtput = GetStdHandle (STD_OUTPUT_HANDLE);
-#ifdef WIN64
+#ifdef _WIN64
#define atoi _atoi64
#endif
// give QHOST a chance to hook into the console
#include "quakedef.h"
#include <windows.h>
+#include <mmsystem.h>
#include <dsound.h>
#include "resource.h"
#include <commctrl.h>
+#include <dinput.h>
extern void S_BlockSound (void);
extern void S_UnblockSound (void);
// input code
-#include <dinput.h>
-
#define DINPUT_BUFFERSIZE 16
#define iDirectInputCreate(a,b,c,d) pDirectInputCreate(a,b,c,d)