#include <windows.h>#include <mmsystem.h>#include "ogl_init.h"#include "vers_id.h"#include "error.h"#include "key.h"#include "joy.h"#include "mouse.h"#include "digi.h"#include "args.h"#include "resource.h"#include <stdio.h>Defines | |
| #define | CDS_FULLSCREEN 0x4 |
Functions | |
| void | keyboard_handler () |
| bool | OpenGL_Initialize (void) |
| void | OpenGL_Shutdown (void) |
| void | PumpMessages (void) |
| static void | finiObjects () |
| int | wgl_game_activate (int active, int min) |
| long PASCAL | DescentWndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) |
| void | ogl_swap_buffers_internal (void) |
| int | get_win_x_bs (void) |
| int | get_win_y_bs (void) |
| void | win32_create_window (int x, int y) |
| void | ogl_destroy_window (void) |
| void | ogl_do_fullscreen_internal (void) |
| int | ogl_init_window (int x, int y) |
| void | ogl_init (void) |
| void | ogl_close (void) |
Variables | |
| DEVMODE | devmode |
| HINSTANCE | hInst = NULL |
| HWND | g_hWnd = NULL |
| int | Inferno_verbose |
| static int | mouse_hidden = 0 |
| int | WMKey_Handler_Ready |
| HDC | hDC |
| static int | GLPREF_width |
| static int | GLPREF_height |
| static int | GLSTATE_width |
| static int | GLSTATE_height |
| static bool | GLPREF_windowed |
| static HGLRC | GL_ResourceContext = NULL |
| int | vid_susp = 0 |
|
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6