icculus quake2 doxygen
1.0 dev
|
|
Go to the source code of this file.
◆ WINDOW_CLASS_NAME
#define WINDOW_CLASS_NAME "Quake 2" |
◆ SWimp_AppActivate()
◆ SWimp_EndFrame()
Definition at line 176 of file rw_imp.c.
219 DDBLTFAST_WAIT ) ) == DDERR_SURFACELOST )
230 NULL, DDFLIP_WAIT ) ) == DDERR_SURFACELOST )
242 DDBLTFAST_WAIT ) ) == DDERR_SURFACELOST )
253 memset( &ddsd, 0,
sizeof( ddsd ) );
254 ddsd.dwSize =
sizeof( ddsd );
Referenced by GetRefAPI(), and R_CinematicSetPalette().
◆ SWimp_Init()
◆ SWimp_InitGraphics()
◆ SWimp_SetMode()
◆ SWimp_SetPalette()
void SWimp_SetPalette |
( |
const unsigned char * |
palette | ) |
|
◆ SWimp_Shutdown()
◆ Sys_MakeCodeWriteable()
void Sys_MakeCodeWriteable |
( |
unsigned long |
startaddr, |
|
|
unsigned long |
length |
|
) |
| |
Definition at line 408 of file rw_imp.c.
412 if (!VirtualProtect((LPVOID)startaddr, length, PAGE_READWRITE, &flOldProtect))
Referenced by D_Patch(), and R_Init().
◆ Sys_SetFPCW()
◆ VID_CreateWindow()
Definition at line 45 of file rw_imp.c.
58 exstyle = WS_EX_TOPMOST;
69 wc.hCursor = LoadCursor (
NULL,IDC_ARROW);
70 wc.hbrBackground = (
void *)COLOR_GRAYTEXT;
74 if (!RegisterClass (&wc) )
82 AdjustWindowRect (&
r, stylebits, FALSE);
Referenced by SWimp_InitGraphics().
◆ sww_state
Definition at line 38 of file rw_imp.c.
Referenced by DDRAW_Init(), DDRAW_SetPalette(), DDRAW_Shutdown(), DIB_Init(), DIB_RestoreSystemColors(), DIB_SetPalette(), DIB_Shutdown(), SWimp_AppActivate(), SWimp_EndFrame(), SWimp_Init(), SWimp_SetMode(), SWimp_Shutdown(), and VID_CreateWindow().
qboolean DIB_Init(unsigned char **ppbuffer, int *ppitch)
void DIB_SetPalette(const unsigned char *_pal)
#define WINDOW_CLASS_NAME
void R_GammaCorrectAndSetPalette(const unsigned char *pal)
void DDRAW_Shutdown(void)
void(* Vid_NewWindow)(int width, int height)
LPDIRECTDRAWSURFACE lpddsFrontBuffer
cvar_t *(* Cvar_Get)(char *name, char *value, int flags)
LPDIRECTDRAWSURFACE lpddsOffScreenBuffer
void SWimp_Shutdown(void)
qboolean(* Vid_GetModeInfo)(int *width, int *height, int mode)
void(* Con_Printf)(int print_level, char *str,...)
static qboolean SWimp_InitGraphics(qboolean fullscreen)
void(* Sys_Error)(int err_level, char *str,...)
void DDRAW_SetPalette(const unsigned char *pal)
void VID_CreateWindow(int width, int height, int stylebits)
unsigned d_8to24table[256]
GLdouble GLdouble GLdouble w
qboolean DDRAW_Init(unsigned char **ppbuffer, int *ppitch)
byte currentpalette[1024]
@ rserr_invalid_fullscreen
HRESULT(WINAPI *pDirectSoundCreate)(GUID FAR *lpGUID
LPDIRECTDRAWSURFACE lpddsBackBuffer