QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
vid_wgl.c File Reference

Macros

#define BASEHEIGHT   200
 
#define BASEWIDTH   320
 
#define MAX_MODE_LIST   30
 
#define MAXHEIGHT   10000
 
#define MAXWIDTH   10000
 
#define MODE_FULLSCREEN_DEFAULT   (MODE_WINDOWED + 1)
 
#define MODE_WINDOWED   0
 
#define NO_MODE   (MODE_WINDOWED - 1)
 
#define VID_ROW_SIZE   3
 
#define WARP_HEIGHT   200
 
#define WARP_WIDTH   320
 

Functions

void GL_EndRendering (void)
 
void * QFGL_GetProcAddress (void *handle, const char *name)
 
void * QFGL_LoadLibrary (void)
 
void VID_Init (byte *palette, byte *colormap)
 
void VID_Init_Cvars ()
 
void VID_SetCaption (const char *text)
 
qboolean VID_SetGamma (double gamma)
 
void VID_Shutdown (void)
 
void VID_UpdateWindowStatus (int w_x, int w_y)
 

Variables

const char * gl_renderer
 
static HGLRC
 
HWND mainwindow
 
modestate_t modestate = MS_UNINIT
 
qboolean win_canalttab = false
 
DEVMODE win_gdevmode
 
int window_center_x
 
int window_center_y
 
int window_height
 
RECT window_rect
 
int window_width
 
int window_x
 
int window_y
 

Macro Definition Documentation

#define BASEHEIGHT   200
#define BASEWIDTH   320
#define MAX_MODE_LIST   30
#define MAXHEIGHT   10000
#define MAXWIDTH   10000
#define MODE_FULLSCREEN_DEFAULT   (MODE_WINDOWED + 1)
#define MODE_WINDOWED   0
#define NO_MODE   (MODE_WINDOWED - 1)
#define VID_ROW_SIZE   3
#define WARP_HEIGHT   200
#define WARP_WIDTH   320

Function Documentation

void GL_EndRendering ( void  )
void* QFGL_GetProcAddress ( void *  handle,
const char *  name 
)
void* QFGL_LoadLibrary ( void  )
void VID_Init ( byte palette,
byte colormap 
)
void VID_Init_Cvars ( void  )
void VID_SetCaption ( const char *  text)
qboolean VID_SetGamma ( double  gamma)
void VID_Shutdown ( void  )
void VID_UpdateWindowStatus ( int  w_x,
int  w_y 
)

Variable Documentation

const char* gl_renderer
static HGLRC
HWND mainwindow
modestate_t modestate = MS_UNINIT
qboolean win_canalttab = false
DEVMODE win_gdevmode
int window_center_x
int window_center_y
int window_height
RECT window_rect
int window_width
int window_x
int window_y