1 /* 2 Copyright (C) 1997-2001 Id Software, Inc. 3 4 This program is free software; you can redistribute it and/or 5 modify it under the terms of the GNU General Public License 6 as published by the Free Software Foundation; either version 2 7 of the License, or (at your option) any later version. 8 9 This program is distributed in the hope that it will be useful, 10 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 13 See the GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with this program; if not, write to the Free Software 17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 */ 19 20 // 21 // win_local.h 22 // Win32-specific Quake header file 23 // 24 25 #pragma warning (disable : 4229) // mgraph gets this 26 27 #include <windows.h> 28 29 #ifndef DEDICATED_ONLY 30 # include <mmreg.h> 31 # include <mmsystem.h> 32 # include <winuser.h> 33 # include <dsound.h> 34 # include <ctype.h> 35 # include <commctrl.h> 36 #endif 37 38 #define WINDOW_APP_NAME "EGL v"EGL_VERSTR 39 #define WINDOW_CLASS_NAME "EGL" 40 41 typedef struct winInfo_s { 42 HINSTANCE hInstance; 43 HWND hWnd; 44 45 qBool isWin32; 46 47 qBool appActive; 48 qBool appMinimized; 49 50 uint32 msgTime; 51 } winInfo_t; 52 53 extern winInfo_t sys_winInfo; 54 55 // 56 // win_console.c 57 // 58 59 void Conbuf_AppendText (const char *pMsg); 60 61 // 62 // win_input.c 63 // 64 65 void IN_Activate (qBool active); 66 void IN_MouseEvent (int mstate); 67