2
===========================================================================
3
Copyright (C) 1999-2005 Id Software, Inc.
5
This file is part of Quake III Arena source code.
7
Quake III Arena source code is free software; you can redistribute it
8
and/or modify it under the terms of the GNU General Public License as
9
published by the Free Software Foundation; either version 2 of the License,
10
or (at your option) any later version.
12
Quake III Arena source code is distributed in the hope that it will be
13
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
17
You should have received a copy of the GNU General Public License
18
along with Quake III Arena source code; if not, write to the Free Software
19
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
===========================================================================
22
// win_local.h: Win32-specific Quake3 header file
24
#if defined (_MSC_VER) && (_MSC_VER >= 1200)
25
#pragma warning(disable : 4201)
26
#pragma warning( push )
29
#if defined (_MSC_VER) && (_MSC_VER >= 1200)
30
#pragma warning( pop )
33
#define DIRECTSOUND_VERSION 0x0300
34
#define DIRECTINPUT_VERSION 0x0300
42
void IN_MouseEvent (int mstate);
44
void Sys_QueEvent( int time, sysEventType_t type, int value, int value2, int ptrLength, void *ptr );
46
void Sys_CreateConsole( void );
47
void Sys_DestroyConsole( void );
49
char *Sys_ConsoleInput (void);
51
qboolean Sys_GetPacket ( netadr_t *net_from, msg_t *net_message );
56
void IN_Shutdown (void);
57
void IN_JoystickCommands (void);
59
void IN_Move (usercmd_t *cmd);
60
// add additional non keyboard / non mouse movement on top of the keyboard move cmd
62
void IN_DeactivateWin32Mouse( void);
64
void IN_Activate (qboolean active);
68
LONG WINAPI MainWndProc (
74
void Conbuf_AppendText( const char *msg );
76
void SNDDMA_Activate( void );
77
int SNDDMA_InitDS (void);
82
HINSTANCE reflib_library; // Handle to refresh DLL
83
qboolean reflib_active;
89
OSVERSIONINFO osversion;
91
// when we get a windows message, we store the time off so keyboard processing
92
// can know the exact time of an event
96
extern WinVars_t g_wv;