mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-03-21 16:31:07 +00:00
Server need mmsystem.h for timeGetTime()
This commit is contained in:
parent
de443cad14
commit
6120f2dab5
1 changed files with 8 additions and 9 deletions
|
@ -24,18 +24,17 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
|
||||
#include <windows.h>
|
||||
|
||||
#ifndef SERVERONLY
|
||||
#include <ddraw.h>
|
||||
/* Server need this too for timeGetTime() */
|
||||
#ifdef HAVE_MMSYSTEM_H
|
||||
# include <mmsystem.h>
|
||||
#endif
|
||||
|
||||
#ifndef SERVERONLY
|
||||
#include <ddraw.h>
|
||||
#ifdef HAVE_DSOUND_H
|
||||
# include <dsound.h>
|
||||
# define HAVE_DSOUND
|
||||
#endif
|
||||
#ifndef GLQUAKE
|
||||
//#include <mgraph.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef WM_MOUSEWHEEL
|
||||
|
@ -70,7 +69,7 @@ typedef enum {MS_WINDOWED, MS_FULLSCREEN, MS_FULLDIB, MS_UNINIT} modestate_t;
|
|||
|
||||
extern modestate_t modestate;
|
||||
|
||||
extern HWND mainwindow;
|
||||
extern HWND mainwindow;
|
||||
extern qboolean ActiveApp, Minimized;
|
||||
|
||||
extern qboolean WinNT;
|
||||
|
@ -88,11 +87,11 @@ void IN_MouseEvent (int mstate);
|
|||
|
||||
extern qboolean winsock_lib_initialized;
|
||||
|
||||
extern int window_center_x, window_center_y;
|
||||
extern RECT window_rect;
|
||||
extern int window_center_x, window_center_y;
|
||||
extern RECT window_rect;
|
||||
|
||||
extern qboolean mouseinitialized;
|
||||
extern HWND hwnd_dialog;
|
||||
extern HWND hwnd_dialog;
|
||||
|
||||
extern HANDLE hinput, houtput;
|
||||
|
||||
|
|
Loading…
Reference in a new issue