Go to the source code of this file.
Macros | |
#define | NUM_BEAM_SEGS 6 |
#define NUM_BEAM_SEGS 6 |
void Com_Printf | ( | char * | fmt, |
... | |||
) |
Definition at line 1758 of file gl_rmain.c.
struct image_s* Draw_FindPic | ( | char * | name | ) |
refexport_t GetRefAPI | ( | refimport_t | rimp | ) |
Definition at line 1701 of file gl_rmain.c.
|
static |
void GL_DrawParticles | ( | int | num_particles, |
const particle_t | particles[], | ||
const unsigned | colortable[768] | ||
) |
void MYgluPerspective | ( | GLdouble | fovy, |
GLdouble | aspect, | ||
GLdouble | zNear, | ||
GLdouble | zFar | ||
) |
void R_BeginFrame | ( | float | camera_separation | ) |
void R_BeginRegistration | ( | char * | map | ) |
Definition at line 1610 of file gl_rmain.c.
Referenced by R_DrawEntitiesOnList().
Definition at line 1562 of file gl_rmain.c.
Referenced by GetRefAPI().
Definition at line 806 of file gl_rmain.c.
Referenced by R_RenderView().
Definition at line 1116 of file gl_rmain.c.
Referenced by GetRefAPI().
Definition at line 978 of file gl_rmain.c.
Referenced by R_Init().
struct model_s* R_RegisterModel | ( | char * | name | ) |
struct image_s* R_RegisterSkin | ( | char * | name | ) |
Definition at line 550 of file r_image.c.
Referenced by GetRefAPI().
Definition at line 970 of file gl_rmain.c.
Referenced by GetRefAPI().
Definition at line 165 of file gl_rmain.c.
Referenced by R_DrawAliasModel(), R_DrawBrushModel(), and R_DrawNullModel().
Definition at line 870 of file gl_rmain.c.
Referenced by GL_DrawStereoPattern(), and R_RenderFrame().
void R_SetPalette | ( | const unsigned char * | palette | ) |
Definition at line 618 of file gl_rmain.c.
Referenced by R_RenderView().
void Sys_Error | ( | char * | error, |
... | |||
) |
int c_alias_polys |
Definition at line 55 of file gl_rmain.c.
Referenced by R_RenderView(), and R_SetupFrame().
int c_brush_polys |
Definition at line 55 of file gl_rmain.c.
Referenced by R_RenderView(), and R_SetupFrame().
entity_t* currententity |
Definition at line 47 of file gl_rmain.c.
Referenced by R_DrawEntitiesOnList(), R_DrawNullModel(), and R_DrawSpriteModel().
model_t* currentmodel |
Definition at line 48 of file gl_rmain.c.
Referenced by R_DrawEntitiesOnList(), and R_DrawSpriteModel().
cplane_t frustum[4] |
Definition at line 50 of file gl_rmain.c.
Referenced by R_CullBox(), and R_SetFrustum().
cvar_t* gl_3dlabs_broken |
Definition at line 138 of file gl_rmain.c.
Referenced by R_Init(), and R_Register().
cvar_t* gl_allow_software |
Definition at line 92 of file gl_rmain.c.
Referenced by GLimp_InitGL(), and R_Register().
cvar_t* gl_bitdepth |
Definition at line 110 of file gl_rmain.c.
Referenced by GLimp_BeginFrame(), GLimp_SetMode(), R_Register(), and VID_CreateWindow().
cvar_t* gl_clear |
Definition at line 126 of file gl_rmain.c.
Referenced by R_Clear(), and R_Register().
glconfig_t gl_config |
Definition at line 41 of file gl_rmain.c.
Referenced by Draw_Pic(), Draw_StretchPic(), Draw_StretchRaw(), Draw_TileClear(), GL_DrawStereoPattern(), GL_InitImages(), GL_Strings_f(), QGL_Init(), R_BeginFrame(), R_Init(), and R_SetMode().
cvar_t* gl_cull |
Definition at line 127 of file gl_rmain.c.
Referenced by R_Register(), and R_SetupGL().
cvar_t* gl_drawbuffer |
Definition at line 111 of file gl_rmain.c.
Referenced by GLimp_EndFrame(), R_BeginFrame(), and R_Register().
cvar_t* gl_driver |
Definition at line 112 of file gl_rmain.c.
Referenced by R_Init(), and R_Register().
cvar_t* gl_dynamic |
Definition at line 116 of file gl_rmain.c.
Referenced by GL_RenderLightmappedPoly(), R_BlendLightmaps(), R_Register(), and R_RenderBrushPoly().
cvar_t* gl_ext_compiled_vertex_array |
Definition at line 107 of file gl_rmain.c.
Referenced by R_Register().
cvar_t* gl_ext_multitexture |
Definition at line 105 of file gl_rmain.c.
Referenced by R_Init(), and R_Register().
cvar_t* gl_ext_palettedtexture |
Definition at line 104 of file gl_rmain.c.
Referenced by R_Init(), and R_Register().
cvar_t* gl_ext_pointparameters |
Definition at line 106 of file gl_rmain.c.
Referenced by R_DrawParticles(), R_Init(), and R_Register().
cvar_t* gl_ext_swapinterval |
Definition at line 103 of file gl_rmain.c.
Referenced by R_Register().
cvar_t* gl_finish |
Definition at line 125 of file gl_rmain.c.
Referenced by R_Register(), and R_RenderView().
cvar_t* gl_flashblend |
Definition at line 129 of file gl_rmain.c.
Referenced by R_DrawInlineBModel(), R_PushDlights(), R_Register(), and R_RenderDlights().
cvar_t* gl_lightmap |
Definition at line 113 of file gl_rmain.c.
Referenced by R_BlendLightmaps(), R_DrawWorld(), and R_Register().
cvar_t* gl_lockpvs |
Definition at line 136 of file gl_rmain.c.
Referenced by R_MarkLeaves(), and R_Register().
cvar_t* gl_log |
Definition at line 109 of file gl_rmain.c.
Referenced by R_BeginFrame(), and R_Register().
cvar_t* gl_mode |
Definition at line 115 of file gl_rmain.c.
Referenced by R_BeginFrame(), R_Register(), and R_SetMode().
cvar_t* gl_modulate |
Definition at line 118 of file gl_rmain.c.
Referenced by R_BuildLightMap(), R_LightPoint(), R_Register(), and RecursiveLightPoint().
cvar_t* gl_monolightmap |
Definition at line 117 of file gl_rmain.c.
Referenced by GL_BeginBuildingLightmaps(), R_BlendLightmaps(), R_BuildLightMap(), R_DrawAliasModel(), R_Init(), and R_Register().
cvar_t* gl_nobind |
Definition at line 119 of file gl_rmain.c.
Referenced by GL_Bind(), and R_Register().
cvar_t* gl_nosubimage |
Definition at line 91 of file gl_rmain.c.
Referenced by R_Register().
cvar_t* gl_particle_att_a |
Definition at line 99 of file gl_rmain.c.
Referenced by GL_SetDefaultState(), and R_Register().
cvar_t* gl_particle_att_b |
Definition at line 100 of file gl_rmain.c.
Referenced by GL_SetDefaultState(), and R_Register().
cvar_t* gl_particle_att_c |
Definition at line 101 of file gl_rmain.c.
Referenced by GL_SetDefaultState(), and R_Register().
cvar_t* gl_particle_max_size |
Definition at line 97 of file gl_rmain.c.
Referenced by GL_SetDefaultState(), and R_Register().
cvar_t* gl_particle_min_size |
Definition at line 96 of file gl_rmain.c.
Referenced by GL_SetDefaultState(), and R_Register().
cvar_t* gl_particle_size |
Definition at line 98 of file gl_rmain.c.
Referenced by R_DrawParticles(), and R_Register().
cvar_t* gl_picmip |
Definition at line 121 of file gl_rmain.c.
Referenced by R_Register().
cvar_t* gl_playermip |
Definition at line 130 of file gl_rmain.c.
Referenced by R_Register().
cvar_t* gl_polyblend |
Definition at line 128 of file gl_rmain.c.
Referenced by R_PolyBlend(), and R_Register().
cvar_t* gl_round_down |
Definition at line 120 of file gl_rmain.c.
Referenced by GL_Upload32(), and R_Register().
cvar_t* gl_saturatelighting |
Definition at line 131 of file gl_rmain.c.
Referenced by R_BlendLightmaps(), and R_Register().
cvar_t* gl_shadows |
Definition at line 114 of file gl_rmain.c.
Referenced by R_DrawAliasModel(), and R_Register().
cvar_t* gl_showtris |
Definition at line 123 of file gl_rmain.c.
Referenced by R_DrawTriangleOutlines(), and R_Register().
cvar_t* gl_skymip |
Definition at line 122 of file gl_rmain.c.
Referenced by R_Register(), and R_SetSky().
glstate_t gl_state |
Definition at line 42 of file gl_rmain.c.
Referenced by GL_BeginBuildingLightmaps(), GL_Bind(), GL_BuildPalettedTexture(), GL_DrawStereoPattern(), GL_InitImages(), GL_MBind(), GL_RenderLightmappedPoly(), GL_SelectTexture(), GL_TexEnv(), GL_UpdateSwapInterval(), GLimp_BeginFrame(), GLimp_InitGL(), GLimp_SetMode(), GLimp_Shutdown(), LM_UploadBlock(), MYgluPerspective(), R_BeginFrame(), R_BlendLightmaps(), R_DrawAlphaSurfaces(), R_DrawBrushModel(), R_DrawWorld(), R_Init(), R_RenderBrushPoly(), and R_SetMode().
cvar_t* gl_swapinterval |
Definition at line 132 of file gl_rmain.c.
Referenced by GL_UpdateSwapInterval(), and R_Register().
int gl_texture0 |
Definition at line 35 of file gl_rmain.c.
Referenced by GL_EnableMultitexture(), GL_MBind(), GL_RenderLightmappedPoly(), GL_SelectTexture(), R_DrawBrushModel(), R_DrawWorld(), and R_Init().
int gl_texture1 |
Definition at line 35 of file gl_rmain.c.
Referenced by GL_BeginBuildingLightmaps(), GL_EnableMultitexture(), GL_RenderLightmappedPoly(), R_DrawBrushModel(), R_DrawWorld(), and R_Init().
cvar_t* gl_texturealphamode |
Definition at line 134 of file gl_rmain.c.
Referenced by GL_SetDefaultState(), R_BeginFrame(), and R_Register().
cvar_t* gl_texturemode |
Definition at line 133 of file gl_rmain.c.
Referenced by GL_SetDefaultState(), R_BeginFrame(), and R_Register().
cvar_t* gl_texturesolidmode |
Definition at line 135 of file gl_rmain.c.
Referenced by GL_SetDefaultState(), R_BeginFrame(), and R_Register().
cvar_t* gl_vertex_arrays |
Definition at line 94 of file gl_rmain.c.
Referenced by GL_DrawAliasFrameLerp(), and R_Register().
cvar_t* gl_ztrick |
Definition at line 124 of file gl_rmain.c.
Referenced by R_Clear(), and R_Register().
float gldepthmax |
Definition at line 39 of file gl_rmain.c.
Referenced by R_Clear().
float gldepthmin |
Definition at line 39 of file gl_rmain.c.
Referenced by R_Clear(), and R_DrawAliasModel().
float r_base_world_matrix[16] |
Definition at line 70 of file gl_rmain.c.
cvar_t* r_drawentities |
Definition at line 80 of file gl_rmain.c.
Referenced by R_DrawEntitiesOnList(), and R_Register().
cvar_t* r_drawworld |
Definition at line 81 of file gl_rmain.c.
Referenced by R_Register().
int r_framecount |
Definition at line 53 of file gl_rmain.c.
Referenced by R_SetupFrame().
cvar_t* r_fullbright |
Definition at line 83 of file gl_rmain.c.
Referenced by R_Register().
cvar_t* r_lefthand |
Definition at line 87 of file gl_rmain.c.
Referenced by R_Register().
cvar_t* r_lerpmodels |
Definition at line 86 of file gl_rmain.c.
Referenced by R_Register().
cvar_t* r_lightlevel |
Definition at line 89 of file gl_rmain.c.
Referenced by R_Register(), and R_SetLightLevel().
refdef_t r_newrefdef |
Definition at line 75 of file gl_rmain.c.
Referenced by R_DrawEntitiesOnList(), R_DrawParticles(), R_RenderView(), R_SetFrustum(), R_SetLightLevel(), R_SetupFrame(), and R_SetupGL().
cvar_t* r_nocull |
Definition at line 85 of file gl_rmain.c.
Referenced by R_CullBox(), and R_Register().
cvar_t* r_norefresh |
Definition at line 79 of file gl_rmain.c.
Referenced by R_Register(), and R_RenderView().
image_t* r_notexture |
Definition at line 44 of file gl_rmain.c.
cvar_t* r_novis |
Definition at line 84 of file gl_rmain.c.
Referenced by R_Register().
int r_oldviewcluster |
Definition at line 77 of file gl_rmain.c.
Referenced by R_SetupFrame().
int r_oldviewcluster2 |
Definition at line 77 of file gl_rmain.c.
Referenced by R_SetupFrame().
vec3_t r_origin |
Definition at line 67 of file gl_rmain.c.
Referenced by GL_DrawParticles(), R_SetFrustum(), and R_SetupFrame().
image_t* r_particletexture |
Definition at line 45 of file gl_rmain.c.
Referenced by GL_DrawParticles().
unsigned r_rawpalette[256] |
Definition at line 1572 of file gl_rmain.c.
Referenced by R_SetPalette().
cvar_t* r_speeds |
Definition at line 82 of file gl_rmain.c.
Referenced by R_Register(), and R_RenderView().
int r_viewcluster |
Definition at line 77 of file gl_rmain.c.
Referenced by R_SetupFrame().
int r_viewcluster2 |
Definition at line 77 of file gl_rmain.c.
Referenced by R_SetupFrame().
int r_visframecount |
Definition at line 52 of file gl_rmain.c.
float r_world_matrix[16] |
Definition at line 69 of file gl_rmain.c.
Referenced by R_DrawAlphaSurfaces(), and R_SetupGL().
model_t* r_worldmodel |
Definition at line 37 of file gl_rmain.c.
Referenced by R_RenderView(), and R_SetupFrame().
refimport_t ri |
Definition at line 33 of file gl_rmain.c.
Referenced by Com_Printf(), GetRefAPI(), R_BeginFrame(), R_DrawEntitiesOnList(), R_DrawSpriteModel(), R_Init(), R_Register(), R_RenderView(), R_SetMode(), R_Shutdown(), and Sys_Error().
float v_blend[4] |
Definition at line 57 of file gl_rmain.c.
Referenced by R_PolyBlend(), R_RenderDlight(), R_SetupFrame(), and SV_AddBlend().
viddef_t vid |
Definition at line 31 of file gl_rmain.c.
Referenced by GL_DrawColoredStereoLinePair(), R_BeginFrame(), R_SetGL2D(), R_SetMode(), R_SetupFrame(), and R_SetupGL().
cvar_t* vid_fullscreen |
Definition at line 140 of file gl_rmain.c.
Referenced by R_BeginFrame(), R_Register(), and R_SetMode().
cvar_t* vid_gamma |
Definition at line 141 of file gl_rmain.c.
Referenced by R_BeginFrame(), and R_Register().
cvar_t* vid_ref |
Definition at line 142 of file gl_rmain.c.
Referenced by R_Register().
vec3_t vpn |
Definition at line 65 of file gl_rmain.c.
Referenced by GL_DrawParticles(), R_SetFrustum(), and R_SetupFrame().
vec3_t vright |
Definition at line 66 of file gl_rmain.c.
Referenced by GL_DrawParticles(), R_DrawSpriteModel(), R_SetFrustum(), and R_SetupFrame().
vec3_t vup |
Definition at line 64 of file gl_rmain.c.
Referenced by GL_DrawParticles(), R_DrawSpriteModel(), R_SetFrustum(), and R_SetupFrame().