23 #include "shared/shared.h"
24 #include "common/common.h"
25 #include "common/cvar.h"
26 #include "common/files.h"
29 #include "client/input.h"
30 #include "client/keys.h"
31 #include "client/ui.h"
32 #include "client/video.h"
33 #include "refresh/refresh.h"
35 #include "system/system.h"
37 #define WIN32_LEAN_AND_MEAN
45 #ifndef PROCESS_DEP_ENABLE
46 #define PROCESS_DEP_ENABLE 0x01
48 #ifndef PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION
49 #define PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION 0x02
58 #define MOUSE_BUTTONS 5
61 #ifndef WM_MOUSEHWHEEL
62 #define WM_MOUSEHWHEEL 0x020E
65 #ifndef __LPCGUID_DEFINED__
66 #define __LPCGUID_DEFINED__
67 typedef const GUID *LPCGUID;
72 #define DM_GRAYSCALE 1
75 #define DM_INTERLACED 2
91 SHORT gamma_cust[3][256];
92 SHORT gamma_orig[3][256];
102 int center_x, center_y;
104 qboolean alttab_disabled;
116 qboolean restoreparms;
117 int originalparms[3];
122 extern win_state_t
win;
134 extern HANDLE mainProcessThread;
135 extern LPTOP_LEVEL_EXCEPTION_FILTER prevExceptionFilter;