vkQuake2 doxygen  1.0 dev
vk_win.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 1997-2001 Id Software, Inc.
3 Copyright (C) 2018-2019 Krzysztof Kondrak
4 
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 as published by the Free Software Foundation; either version 2
8 of the License, or (at your option) any later version.
9 
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 
14 See the GNU General Public License for more details.
15 
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 
20 */
21 #ifndef _WIN32
22 # error You should not be including this file on this platform
23 #endif
24 
25 #ifndef __VK_WIN_H__
26 #define __VK_WIN_H__
27 
28 typedef struct
29 {
30  HINSTANCE hInstance;
31  void *wndproc;
32  HWND hWnd; // handle to window
33  MONITORINFOEX monInfo; // active monitor info
34 
36  FILE *log_fp;
37 } vkwstate_t;
38 
39 extern vkwstate_t vkw_state;
40 
41 #endif
qboolean
qboolean
Definition: q_shared.h:63
vkwstate_t::wndproc
void * wndproc
Definition: vk_win.h:31
vkwstate_t
Definition: vk_win.h:28
vkwstate_t::monInfo
MONITORINFOEX monInfo
Definition: vk_win.h:33
vkwstate_t::allowdisplaydepthchange
qboolean allowdisplaydepthchange
Definition: vk_win.h:35
vkw_state
vkwstate_t vkw_state
Definition: vk_imp.c:39
vkwstate_t::hWnd
HWND hWnd
Definition: vk_win.h:32
vkwstate_t::log_fp
FILE * log_fp
Definition: vk_win.h:36
vkwstate_t::hInstance
HINSTANCE hInstance
Definition: vk_win.h:30