icculus quake2 doxygen
1.0 dev
|
|
Go to the documentation of this file.
35 #ifndef GL_COLOR_INDEX8_EXT
36 #define GL_COLOR_INDEX8_EXT GL_COLOR_INDEX
42 char *strlwr (
char *s);
45 #include "../client/ref.h"
49 #define REF_VERSION "GL 0.01"
110 #define TEXNUM_LIGHTMAPS 1024
111 #define TEXNUM_SCRAPS 1152
112 #define TEXNUM_IMAGES 1153
114 #define MAX_GLTEXTURES 1024
146 #define MAX_LBM_HEIGHT 480
148 #define BACKFACE_EPSILON 0.01
282 int R_Init(
void *hinstance,
void *hWnd );
336 void GL_ResampleTexture (
unsigned *in,
int inwidth,
int inheight,
unsigned *out,
int outwidth,
int outheight);
364 #define GL_RENDERER_VOODOO 0x00000001
365 #define GL_RENDERER_VOODOO2 0x00000002
366 #define GL_RENDERER_VOODOO_RUSH 0x00000004
367 #define GL_RENDERER_BANSHEE 0x00000008
368 #define GL_RENDERER_3DFX 0x0000000F
370 #define GL_RENDERER_PCX1 0x00000010
371 #define GL_RENDERER_PCX2 0x00000020
372 #define GL_RENDERER_PMX 0x00000040
373 #define GL_RENDERER_POWERVR 0x00000070
375 #define GL_RENDERER_PERMEDIA2 0x00000100
376 #define GL_RENDERER_GLINT_MX 0x00000200
377 #define GL_RENDERER_GLINT_TX 0x00000400
378 #define GL_RENDERER_3DLABS_MISC 0x00000800
379 #define GL_RENDERER_3DLABS 0x00000F00
381 #define GL_RENDERER_REALIZM 0x00001000
382 #define GL_RENDERER_REALIZM2 0x00002000
383 #define GL_RENDERER_INTERGRAPH 0x00003000
385 #define GL_RENDERER_3DPRO 0x00004000
386 #define GL_RENDERER_REAL3D 0x00008000
387 #define GL_RENDERER_RIVA128 0x00010000
388 #define GL_RENDERER_DYPIC 0x00020000
390 #define GL_RENDERER_V1000 0x00040000
391 #define GL_RENDERER_V2100 0x00080000
392 #define GL_RENDERER_V2200 0x00100000
393 #define GL_RENDERER_RENDITION 0x001C0000
395 #define GL_RENDERER_O2 0x00100000
396 #define GL_RENDERER_IMPACT 0x00200000
397 #define GL_RENDERER_RE 0x00400000
398 #define GL_RENDERER_IR 0x00800000
399 #define GL_RENDERER_SGI 0x00F00000
401 #define GL_RENDERER_MCD 0x01000000
402 #define GL_RENDERER_OTHER 0x80000000
426 int currenttextures[2];
434 unsigned char originalRedGammaTable[256];
435 unsigned char originalGreenGammaTable[256];
436 unsigned char originalBlueGammaTable[256];
463 int GLimp_Init(
void *hinstance,
void *hWnd );
void GL_EndRendering(void)
void Draw_TileClear(int x, int y, int w, int h, char *name)
void GLimp_Shutdown(void)
cvar_t * gl_ext_multitexture
cvar_t * gl_ext_pointparameters
image_t * GL_FindImage(char *name, imagetype_t type)
image_t gltextures[MAX_GLTEXTURES]
cvar_t * gl_particle_att_c
short LittleShort(short l)
cvar_t * gl_vertex_arrays
cvar_t * gl_3dlabs_broken
void Draw_Pic(int x, int y, char *name)
void GL_SelectTexture(GLenum)
void R_RenderBrushPoly(msurface_t *fa)
const char * extensions_string
void Draw_GetPicSize(int *w, int *h, char *name)
cvar_t * gl_ext_compiled_vertex_array
void LoadPCX(char *filename, byte **pic, byte **palette, int *width, int *height)
cvar_t * gl_saturatelighting
cvar_t * gl_particle_att_a
void GL_TextureAlphaMode(char *string)
void Draw_StretchPic(int x, int y, int w, int h, char *name)
int registration_sequence
int R_Init(void *hinstance, void *hWnd)
cvar_t * gl_particle_size
void R_SetPalette(const unsigned char *palette)
char * va(char *format,...)
cvar_t * gl_stencilshadow
void R_DrawAlphaSurfaces(void)
void GLimp_AppActivate(qboolean active)
float LittleFloat(float l)
cvar_t * gl_texturealphamode
@ rserr_invalid_fullscreen
void GLimp_LogNewFrame(void)
void R_BeginFrame(float camera_separation)
void R_AddSkySurface(msurface_t *fa)
void GL_TextureSolidMode(char *string)
void R_RenderDlights(void)
void GL_FreeUnusedImages(void)
cvar_t * gl_ext_palettedtexture
void Draw_InitLocal(void)
image_t * r_particletexture
int Draw_GetPalette(void)
void R_RenderView(refdef_t *fd)
void GLimp_BeginFrame(float camera_separation)
void GL_DrawParticles(int n, const particle_t particles[], const unsigned colortable[768])
void Draw_Char(int x, int y, int c)
void GL_ResampleTexture(unsigned *in, int inwidth, int inheight, unsigned *out, int outwidth, int outheight)
void GL_SubdivideSurface(msurface_t *fa)
int GLimp_SetMode(int *pwidth, int *pheight, int mode, qboolean fullscreen)
void COM_StripExtension(char *in, char *out)
void GLimp_EnableLogging(qboolean enable)
void Draw_StretchRaw(int x, int y, int w, int h, int cols, int rows, byte *data)
int GLimp_Init(void *hinstance, void *hWnd)
const char * renderer_string
void GL_TexEnv(GLenum value)
struct msurface_s * texturechain
void R_LightPoint(vec3_t p, vec3_t color)
void GL_ImageList_f(void)
cvar_t * gl_texturesolidmode
void R_DrawBeam(entity_t *e)
void GL_EnableMultitexture(qboolean enable)
cvar_t * gl_particle_max_size
glpoly_t * WaterWarpPolyVerts(glpoly_t *p)
qboolean R_CullBox(vec3_t mins, vec3_t maxs)
void R_DrawBrushModel(entity_t *e)
void GL_SetTexturePalette(unsigned palette[256])
void EmitWaterPolys(msurface_t *fa)
void GL_ScreenShot_f(void)
cvar_t * gl_ext_swapinterval
void GL_UpdateSwapInterval(void)
const char * vendor_string
struct image_s * R_RegisterSkin(char *name)
void Draw_Fill(int x, int y, int w, int h, int c)
void GLimp_EndFrame(void)
void R_RotateForEntity(entity_t *e)
void GL_ShutdownImages(void)
GLdouble GLdouble GLdouble w
void GL_MBind(GLenum target, int texnum)
cparticle_t particles[MAX_PARTICLES]
void R_InitParticleTexture(void)
unsigned d_8to24table[256]
void R_DrawSpriteModel(entity_t *e)
cvar_t * gl_particle_min_size
void R_MarkLights(dlight_t *light, int bit, mnode_t *node)
int registration_sequence
void GL_BeginRendering(int *x, int *y, int *width, int *height)
void GL_SetDefaultState(void)
const char * version_string
unsigned char * d_16to8table
cvar_t * gl_particle_att_b
void V_AddBlend(float r, float g, float b, float a, float *v_blend)
image_t * GL_LoadPic(char *name, byte *pic, int width, int height, imagetype_t type, int bits)
void Draw_FadeScreen(void)
void GL_TextureMode(char *string)
void R_TranslatePlayerSkin(int playernum)
void R_DrawAliasModel(entity_t *e)