#include "shared/shared.h"
#include "common/bsp.h"
#include "common/cmd.h"
#include "common/common.h"
#include "common/cvar.h"
#include "common/files.h"
#include "common/math.h"
#include "client/client.h"
#include "client/video.h"
#include "refresh/refresh.h"
#include "refresh/images.h"
#include "refresh/models.h"
#include "system/system.h"
Go to the source code of this file.
Classes | |
struct | viddef_t |
struct | oldrefdef_t |
struct | emitpoint_t |
struct | finalvert_s |
struct | affinetridesc_t |
struct | drawsurf_s |
struct | bedge_s |
struct | clipplane_s |
struct | surfcache_s |
struct | espan_s |
struct | polydesc_t |
struct | surf_s |
struct | edge_s |
struct | maliasst_s |
struct | maliastri_s |
struct | maliasvert_s |
struct | maliasframe_s |
struct | aliastriangleparms_t |
Macros | |
#define | REF_VERSION "SOFT 0.01" |
#define | DSURF_SKY 2 |
#define | DSURF_TURB 4 |
#define | DSURF_BACKGROUND 8 |
#define | CACHE_SIZE 32 |
#define | VID_BYTES 4 |
#define | TEX_BYTES 4 |
#define | MAXVERTS 64 |
#define | MAXWORKINGVERTS (MAXVERTS + 4) |
#define | MAXHEIGHT 1200 |
#define | MAXWIDTH 1600 |
#define | INFINITE_DISTANCE 0x10000 |
#define | WARP_WIDTH 320 |
#define | WARP_HEIGHT 240 |
#define | PARTICLE_Z_CLIP 8.0 |
#define | TRANSPARENT_COLOR 0xFF |
#define | TURB_SIZE 64 |
#define | TURB_MASK (TURB_SIZE - 1) |
#define | CYCLE 128 |
#define | DS_SPAN_LIST_END -128 |
#define | NUMSTACKEDGES 3000 |
#define | MINEDGES NUMSTACKEDGES |
#define | MAXEDGES 30000 |
#define | NUMSTACKSURFACES 1000 |
#define | MINSURFACES NUMSTACKSURFACES |
#define | MAXSURFACES 10000 |
#define | MAXSPANS 3000 |
#define | ALIAS_LEFT_CLIP 0x0001 |
#define | ALIAS_TOP_CLIP 0x0002 |
#define | ALIAS_RIGHT_CLIP 0x0004 |
#define | ALIAS_BOTTOM_CLIP 0x0008 |
#define | ALIAS_Z_CLIP 0x0010 |
#define | ALIAS_XY_CLIP_MASK 0x000F |
#define | SURFCACHE_SIZE_AT_320X240 1024*768 |
#define | BMODEL_FULLY_CLIPPED 0x10 |
#define | CLIP_EPSILON 0.001 |
#define | BACKFACE_EPSILON 0.01 |
#define | NEAR_CLIP 0.01 |
#define | ALIAS_Z_CLIP_PLANE 4 |
#define | AMP 8*0x10000 |
#define | AMP2 3 |
#define | SPEED 20 |
#define | MAX_BLOCKLIGHTS 1024 |
#define | LIGHTMAP_BYTES 3 |
Typedefs | |
typedef unsigned char | pixel_t |
typedef struct finalvert_s | finalvert_t |
typedef struct drawsurf_s | drawsurf_t |
typedef struct bedge_s | bedge_t |
typedef struct clipplane_s | clipplane_t |
typedef int | blocklight_t |
typedef struct surfcache_s | surfcache_t |
typedef struct espan_s | espan_t |
typedef struct surf_s | surf_t |
typedef struct edge_s | edge_t |
typedef struct maliasst_s | maliasst_t |
typedef struct maliastri_s | maliastri_t |
typedef struct maliasvert_s | maliasvert_t |
typedef struct maliasframe_s | maliasframe_t |
#define MINEDGES NUMSTACKEDGES |
#define MINSURFACES NUMSTACKSURFACES |
typedef int blocklight_t |
typedef struct clipplane_s clipplane_t |
typedef struct drawsurf_s drawsurf_t |
typedef struct finalvert_s finalvert_t |
typedef struct maliasframe_s maliasframe_t |
typedef struct maliasst_s maliasst_t |
typedef struct maliastri_s maliastri_t |
typedef struct maliasvert_s maliasvert_t |
typedef struct surfcache_s surfcache_t |
surfcache_t* D_CacheSurface | ( | mface_t * | surface, |
int | miplevel | ||
) |
Definition at line 330 of file surf.c.
Referenced by D_SolidSurf(), and R_BuildPolygonFromSurface().
Definition at line 352 of file scan.c.
Referenced by D_BackgroundSurf(), D_DrawflatSurfaces(), D_DrawZSurfaces(), D_SkySurf(), D_SolidSurf(), and D_TurbulentSurf().
Definition at line 222 of file surf.c.
Referenced by R_BeginRegistration(), R_ModeChanged(), R_SetupFrame(), and R_Shutdown().
void R_AliasClipTriangle | ( | finalvert_t * | index0, |
finalvert_t * | index1, | ||
finalvert_t * | index2 | ||
) |
void R_AliasProjectAndClipTestFinalVert | ( | finalvert_t * | fv | ) |
Definition at line 188 of file alias.c.
Referenced by R_Alias_clip_z(), and R_AliasTransformFinalVerts().
Definition at line 290 of file light.c.
Referenced by D_CacheSurface().
void R_DrawBeam | ( | entity_t * | e | ) |
void R_DrawSolidClippedSubmodelPolygons | ( | mmodel_t * | pmodel, |
mnode_t * | topnode | ||
) |
Definition at line 113 of file polyset.c.
Referenced by R_AliasClipTriangle(), and R_AliasPreparePoints().
void R_IMFlatShadedQuad | ( | vec3_t | a, |
vec3_t | b, | ||
vec3_t | c, | ||
vec3_t | d, | ||
color_t | color, | ||
float | alpha | ||
) |
void R_MarkLights | ( | mnode_t * | headnode | ) |
Definition at line 58 of file misc.c.
Referenced by R_RenderFrame().
Definition at line 477 of file raster.c.
Referenced by R_DrawSolidClippedSubmodelPolygons(), and R_RecursiveClipBPoly().
Definition at line 328 of file raster.c.
Referenced by R_DrawSubmodelPolygons(), R_EmitSkyBox(), and R_RecursiveWorldNode().
Definition at line 71 of file bsp.c.
Referenced by D_SolidSurf(), D_TurbulentSurf(), and R_DrawBEntitiesOnList().
Definition at line 243 of file misc.c.
Referenced by R_RenderFrame().
Definition at line 70 of file misc.c.
Referenced by D_DrawSurfaces(), D_SolidSurf(), D_TurbulentSurf(), R_DrawBEntitiesOnList(), R_RotateBmodel(), and R_SetupFrame().
void R_TransformPlane | ( | cplane_t * | p, |
float * | normal, | ||
float * | dist | ||
) |
void R_TransformVector | ( | vec3_t | in, |
vec3_t | out | ||
) |
Definition at line 96 of file misc.c.
Referenced by D_CalcGradients(), D_DrawSurfaces(), D_SolidSurf(), D_TurbulentSurf(), R_ClipAndDrawPoly(), R_EmitEdge(), R_PolygonCalculateGradients(), R_RenderBmodelFace(), and R_RenderFace().
aliastriangleparms_t aliastriangleparms |
Definition at line 47 of file polyset.c.
Referenced by R_AliasClipTriangle(), R_AliasPreparePoints(), and R_DrawTriangle().
edge_t* auxedges |
Definition at line 31 of file edge.c.
Referenced by R_EdgeDrawing(), R_NewMap(), and R_Shutdown().
surf_t* auxsurfaces |
Definition at line 34 of file edge.c.
Referenced by R_EdgeDrawing(), R_NewMap(), and R_Shutdown().
fixed16_t bbextents |
Definition at line 467 of file sw.h.
Referenced by D_CalcGradients(), D_DrawSpans16(), D_DrawTurbulent16(), R_PolygonCalculateGradients(), and R_PolygonDrawSpans().
Definition at line 135 of file main.c.
Referenced by D_TurbulentSurf(), R_InitTurb(), and R_PolygonDrawSpans().
blocklight_t blocklights[MAX_BLOCKLIGHTS *LIGHTMAP_BYTES] |
Definition at line 207 of file light.c.
Referenced by R_AddDynamicLights(), and R_BuildLightMap().
int c_faceclip |
Definition at line 35 of file raster.c.
Referenced by R_PrintTimes(), R_RenderBmodelFace(), R_RenderFace(), and R_SetupFrame().
int c_surf |
Definition at line 42 of file main.c.
Referenced by D_CacheSurface(), and R_PrintTimes().
pixel_t* cacheblock |
Definition at line 122 of file main.c.
Referenced by D_DrawSpans16(), D_DrawTurbulent16(), D_SkySurf(), D_SolidSurf(), D_TurbulentSurf(), R_DrawPoly(), and R_PolygonDrawSpans().
int cachewidth |
Definition at line 123 of file main.c.
Referenced by D_DrawSpans16(), D_SkySurf(), D_SolidSurf(), D_TurbulentSurf(), R_DrawPoly(), R_DrawSpanletAlphaTestBlended(), R_DrawSpanletBlended(), and R_DrawSpanletOpaque().
entity_t* currententity |
Definition at line 26 of file bsp.c.
Referenced by D_DrawSurfaces(), D_SolidSurf(), D_TurbulentSurf(), R_AddDynamicLights(), R_AliasCheckBBox(), R_AliasDrawModel(), R_AliasPreparePoints(), R_AliasSetupBlend(), R_AliasSetupFrames(), R_AliasSetUpLerpData(), R_AliasSetupLighting(), R_AliasSetupSkin(), R_AliasSetUpTransform(), R_AliasTransformFinalVerts(), R_DrawBEntitiesOnList(), R_DrawEntities(), R_DrawSprite(), R_MarkLights(), R_RenderBmodelFace(), R_RenderFace(), R_RenderWorld(), R_RotateBmodel(), and R_TextureAnimation().
model_t* currentmodel |
Definition at line 29 of file main.c.
Referenced by R_AliasPreparePoints(), R_AliasSetupFrames(), R_AliasSetupSkin(), R_DrawEntities(), and R_DrawSprite().
int d_minmip |
Definition at line 27 of file misc.c.
Referenced by D_MipLevelForScale(), and R_SetupFrame().
short* d_pzbuffer |
Definition at line 127 of file main.c.
Referenced by R_ApplySIRDAlgorithum(), R_ModeChanged(), R_SetupFrame(), and R_Shutdown().
float d_scalemip[3] |
Definition at line 28 of file misc.c.
Referenced by D_MipLevelForScale(), and R_SetupFrame().
int d_screenrowbytes |
Definition at line 126 of file main.c.
Referenced by R_DrawParticle(), R_PolysetSetUpAndScanLeftEdge(), and R_SetupFrame().
float d_sdivzorigin |
Definition at line 118 of file main.c.
Referenced by D_CalcGradients(), D_DrawSpans16(), D_DrawTurbulent16(), R_PolygonCalculateGradients(), and R_PolygonDrawSpans().
float d_sdivzstepu |
Definition at line 116 of file main.c.
Referenced by D_CalcGradients(), D_DrawSpans16(), D_DrawTurbulent16(), R_PolygonCalculateGradients(), and R_PolygonDrawSpans().
float d_sdivzstepv |
Definition at line 117 of file main.c.
Referenced by D_CalcGradients(), D_DrawSpans16(), D_DrawTurbulent16(), R_PolygonCalculateGradients(), and R_PolygonDrawSpans().
byte* d_spantable[MAXHEIGHT] |
Definition at line 130 of file main.c.
Referenced by D_DrawSpans16(), D_DrawTurbulent16(), D_FlatFillSurface(), R_DrawParticle(), R_PolygonDrawSpans(), R_PolysetSetUpAndScanLeftEdge(), and R_SetupFrame().
pixel_t* d_viewbuffer |
Definition at line 125 of file main.c.
Referenced by R_SetupFrame().
int d_zrowbytes |
Definition at line 128 of file main.c.
Referenced by R_ModeChanged().
short* d_zspantable[MAXHEIGHT] |
Definition at line 131 of file main.c.
Referenced by D_DrawZSpans(), R_DrawParticle(), R_PolygonDrawSpans(), R_PolysetSetUpAndScanLeftEdge(), and R_SetupFrame().
int d_zwidth |
Definition at line 129 of file main.c.
Referenced by R_DrawParticle(), R_ModeChanged(), R_PolysetSetUpAndScanLeftEdge(), and R_SetupFrame().
vec3_t entity_rotation[3] |
Definition at line 32 of file bsp.c.
Referenced by R_AddDynamicLights(), R_EntityRotate(), R_MarkLights(), R_RecursiveClipBPoly(), and R_RotateBmodel().
qboolean insubmodel |
Definition at line 25 of file bsp.c.
Referenced by R_DrawBEntitiesOnList(), R_EmitSkyBox(), R_MarkLights(), and R_RenderFace().
Definition at line 134 of file main.c.
Referenced by D_WarpScreen(), and R_InitTurb().
vec3_t modelorg |
Definition at line 27 of file bsp.c.
Referenced by D_DrawSurfaces(), R_DrawAlphaSurfaces(), R_DrawBEntitiesOnList(), R_DrawEntities(), R_DrawSolidClippedSubmodelPolygons(), R_DrawSprite(), R_DrawSubmodelPolygons(), R_EmitEdge(), R_RecursiveWorldNode(), R_RenderBmodelFace(), R_RenderFace(), R_RenderWorld(), R_RotateBmodel(), R_SetupFrame(), and R_TransformFrustum().
Definition at line 41 of file edge.c.
Referenced by R_BeginEdgeFrame(), R_EmitEdge(), and R_ScanEdges().
int* pfrustum_indexes[4] |
Definition at line 70 of file main.c.
Referenced by R_BmodelCheckBBox(), R_RecursiveWorldNode(), and R_SetUpFrustumIndexes().
affinetridesc_t r_affinetridesc |
Definition at line 27 of file alias.c.
Referenced by R_AliasSetupBlend(), R_AliasSetupSkin(), R_PolysetDrawSpans8_Blended(), R_PolysetDrawSpans8_Opaque(), R_PolysetScanLeftEdge(), R_PolysetSetUpAndScanLeftEdge(), and R_RasterizeAliasPolySmooth().
int r_alias_alpha |
Definition at line 29 of file alias.c.
Referenced by R_AliasSetupBlend(), and R_PolysetDrawSpans8_Blended().
int r_alias_one_minus_alpha |
Definition at line 30 of file alias.c.
Referenced by R_AliasSetupBlend(), R_PolysetDrawSpans8_Blended(), and R_PolysetDrawSpansConstant8_Blended().
fixed8_t r_aliasblendcolor[3] |
Definition at line 31 of file alias.c.
Referenced by R_AliasSetupBlend(), R_AliasSetupLighting(), R_PolysetDrawSpans8_Blended(), R_PolysetDrawSpans8_Opaque(), and R_PolysetDrawSpansConstant8_Blended().
mface_t* r_alpha_surfaces |
Definition at line 41 of file poly.c.
Referenced by R_DrawAlphaSurfaces(), R_RenderBmodelFace(), and R_RenderFace().
int r_amodels_drawn |
Definition at line 25 of file alias.c.
Referenced by R_AliasDrawModel(), R_PrintAliasStats(), and R_SetupFrame().
int r_clipflags |
Definition at line 44 of file main.c.
Referenced by R_DrawBEntitiesOnList(), and R_RenderBmodelFace().
int r_currentbkey |
Definition at line 34 of file bsp.c.
Referenced by R_RecursiveClipBPoly(), and R_RenderBmodelFace().
int r_currentkey |
Definition at line 46 of file edge.c.
Referenced by R_BeginEdgeFrame(), R_DrawSubmodelPolygons(), R_EmitSkyBox(), R_RecursiveWorldNode(), and R_RenderFace().
int r_dlightframecount |
Definition at line 22 of file light.c.
Referenced by R_DrawBEntitiesOnList(), R_MarkLights(), and R_MarkLights_r().
qboolean r_dowarp |
Definition at line 40 of file main.c.
Referenced by R_ApplySIRDAlgorithum(), R_RenderFrame(), and R_SetupFrame().
cvar_t* r_drawentities |
Definition at line 97 of file main.c.
Referenced by R_DrawBEntitiesOnList(), R_DrawEntitiesOnList(), and R_Register().
int r_drawnpolycount |
Definition at line 67 of file main.c.
Referenced by D_DrawSurfaces(), R_PrintTimes(), and R_SetupFrame().
drawsurf_t r_drawsurf |
Definition at line 22 of file surf.c.
Referenced by D_CacheSurface(), R_AddDynamicLights(), R_BuildLightMap(), and R_DrawSurface().
cvar_t* r_drawworld |
Definition at line 96 of file main.c.
Referenced by R_Register(), and R_RenderWorld().
edge_t* r_edges |
Definition at line 32 of file edge.c.
Referenced by R_BeginEdgeFrame(), R_EdgeDrawing(), R_EmitCachedEdge(), and R_RenderFace().
vec3_t r_entorigin |
Definition at line 29 of file bsp.c.
Referenced by R_DrawBEntitiesOnList(), R_DrawEntities(), R_DrawSprite(), and R_RecursiveClipBPoly().
int r_framecount |
Definition at line 64 of file main.c.
Referenced by D_CacheSurface(), R_BuildLightMap(), R_ClipEdge(), R_DrawBEntitiesOnList(), R_EmitEdge(), R_EmitSkyBox(), R_MarkLights(), R_RecursiveWorldNode(), R_RenderFace(), and R_SetupFrame().
int r_frustum_indexes[4 *6] |
Definition at line 71 of file main.c.
Referenced by R_SetUpFrustumIndexes().
cvar_t* r_fullbright |
Definition at line 98 of file main.c.
Referenced by R_BuildLightMap(), R_LightPoint(), R_Register(), and R_SetupFrame().
cvar_t* r_lerpmodels |
Definition at line 99 of file main.c.
Referenced by R_AliasDrawModel(), and R_Register().
int r_maxsurfsseen |
Definition at line 43 of file main.c.
Referenced by R_NewMap().
int r_maxvalidedgeoffset |
refdef_t r_newrefdef |
Definition at line 28 of file main.c.
Referenced by _R_LightPoint(), D_CacheSurface(), D_CalcGradients(), D_DrawTurbulent16(), D_WarpScreen(), R_AddDynamicLights(), R_AliasSetupLighting(), R_BuildPolygonFromSurface(), R_DrawBEntitiesOnList(), R_DrawEntities(), R_DrawParticles(), R_EdgeDrawing(), R_LightPoint(), R_MarkLights(), R_PolygonDrawSpans(), R_RecursiveClipBPoly(), R_RecursiveWorldNode(), R_RenderFrame(), R_RenderWorld(), R_SetupFrame(), and R_ViewChanged().
int r_numallocatededges |
Definition at line 36 of file main.c.
Referenced by R_BeginEdgeFrame(), and R_NewMap().
vec3_t r_origin |
Definition at line 52 of file main.c.
Referenced by D_DrawSurfaces(), D_SolidSurf(), D_TurbulentSurf(), R_AliasSetUpTransform(), R_BuildPolygonFromSurface(), R_ClipAndDrawPoly(), R_DrawAlphaSurfaces(), R_DrawBEntitiesOnList(), R_DrawEntities(), R_DrawParticle(), R_EmitSkyBox(), R_IMFlatShadedQuad(), R_RenderWorld(), and R_SetupFrame().
int r_outofedges |
Definition at line 38 of file main.c.
Referenced by R_RenderBmodelFace(), R_RenderFace(), R_RenderFrame(), and R_SetupFrame().
int r_outofsurfaces |
Definition at line 37 of file main.c.
Referenced by R_RenderBmodelFace(), R_RenderFace(), R_RenderFrame(), and R_SetupFrame().
int r_polycount |
Definition at line 66 of file main.c.
Referenced by R_PrintTimes(), R_RenderBmodelFace(), R_RenderFace(), and R_SetupFrame().
mvertex_t* r_ptverts |
oldrefdef_t r_refdef |
Definition at line 57 of file main.c.
Referenced by D_CalcGradients(), D_SolidSurf(), D_WarpScreen(), R_Alias_clip_bottom(), R_Alias_clip_left(), R_Alias_clip_right(), R_Alias_clip_top(), R_AliasClip(), R_AliasClipTriangle(), R_AliasDrawModel(), R_AliasProjectAndClipTestFinalVert(), R_BeginEdgeFrame(), R_ClipAndDrawPoly(), R_DrawParticle(), R_DrawParticles(), R_EmitEdge(), R_PolygonCalculateGradients(), R_PolygonScanRightEdge(), R_RenderBmodelFace(), R_RenderFace(), R_ScanEdges(), and R_ViewChanged().
cvar_t* r_speeds |
Definition at line 102 of file main.c.
Referenced by R_Register(), and R_RenderFrame().
qboolean r_surfsonstack |
float r_time1 |
Definition at line 35 of file main.c.
Referenced by R_PrintTimes(), and R_RenderFrame().
int r_viewcluster |
Definition at line 74 of file main.c.
Referenced by R_MarkLeaves(), R_NewMap(), and R_SetupFrame().
mleaf_t* r_viewleaf |
Definition at line 73 of file main.c.
Referenced by R_SetupFrame().
int r_visframecount |
Definition at line 65 of file main.c.
Referenced by R_FindTopnode(), R_MarkLeaves(), R_RecursiveClipBPoly(), and R_RecursiveWorldNode().
byte r_warpbuffer[WARP_WIDTH *WARP_HEIGHT *VID_BYTES] |
Definition at line 33 of file main.c.
Referenced by D_WarpScreen(), and R_SetupFrame().
int r_wholepolycount |
Definition at line 68 of file main.c.
Referenced by R_SetupFrame().
entity_t r_worldentity |
Definition at line 26 of file main.c.
Referenced by D_SolidSurf(), R_AddDynamicLights(), and R_RenderWorld().
bsp_t* r_worldmodel |
Definition at line 31 of file main.c.
Referenced by _R_LightPoint(), R_BeginRegistration(), R_DrawBEntitiesOnList(), R_FindTopnode(), R_LightPoint(), R_MarkLeaves(), R_RenderFrame(), R_RenderWorld(), R_SetupFrame(), and R_Shutdown().
Definition at line 42 of file edge.c.
Referenced by R_BeginEdgeFrame(), R_EmitEdge(), and R_ScanEdges().
fixed16_t sadjust |
Definition at line 466 of file sw.h.
Referenced by D_CalcGradients(), D_DrawSpans16(), D_DrawTurbulent16(), R_PolygonCalculateGradients(), and R_PolygonDrawSpans().
cplane_t screenedge[4] |
Definition at line 59 of file main.c.
Referenced by R_TransformFrustum(), and R_ViewChanged().
Definition at line 133 of file main.c.
Referenced by D_TurbulentSurf(), R_InitTurb(), and R_PolygonDrawSpans().
surf_t* surfaces |
Definition at line 35 of file edge.c.
Referenced by collect_ligth_polys(), collect_surfaces(), D_DrawflatSurfaces(), D_DrawSurfaces(), D_DrawZSurfaces(), R_BeginEdgeFrame(), R_CleanupSpan(), R_EdgeDrawing(), R_EmitCachedEdge(), R_EmitEdge(), R_GenerateSpans(), R_GenerateSpansBackward(), R_LeadingEdge(), R_LeadingEdgeBackwards(), R_NewMap(), R_ScanEdges(), and R_TrailingEdge().
cvar_t* sw_aliasstats |
Definition at line 76 of file main.c.
Referenced by R_Register(), and R_RenderFrame().
cvar_t* sw_clearcolor |
Definition at line 77 of file main.c.
Referenced by D_BackgroundSurf(), and R_Register().
cvar_t* sw_drawflat |
Definition at line 78 of file main.c.
Referenced by D_DrawSurfaces(), and R_Register().
cvar_t* sw_draworder |
Definition at line 79 of file main.c.
Referenced by R_BeginEdgeFrame(), and R_Register().
cvar_t* sw_drawsird |
Definition at line 93 of file main.c.
Referenced by D_DrawSurfaces(), R_ApplySIRDAlgorithum(), R_Register(), and R_RenderFrame().
cvar_t* sw_dynamic |
Definition at line 86 of file main.c.
Referenced by R_Register(), and R_RenderFrame().
cvar_t* sw_maxedges |
Definition at line 80 of file main.c.
Referenced by R_NewMap(), and R_Register().
cvar_t* sw_maxsurfs |
Definition at line 81 of file main.c.
Referenced by R_NewMap(), and R_Register().
cvar_t* sw_mipcap |
Definition at line 24 of file misc.c.
Referenced by R_Register(), and R_SetupFrame().
cvar_t* sw_mipscale |
Definition at line 25 of file misc.c.
Referenced by R_Register(), and R_SetupFrame().
cvar_t* sw_mode |
cvar_t* sw_modulate |
Definition at line 87 of file main.c.
Referenced by D_CacheSurface(), R_AddDynamicLights(), R_LightPoint(), and R_Register().
cvar_t* sw_reportedgeout |
Definition at line 82 of file main.c.
Referenced by R_Register(), and R_RenderFrame().
cvar_t* sw_reportsurfout |
Definition at line 83 of file main.c.
Referenced by R_Register(), and R_RenderFrame().
cvar_t* sw_surfcacheoverride |
Definition at line 84 of file main.c.
Referenced by R_InitCaches(), and R_ModeChanged().
cvar_t* sw_waterwarp |
Definition at line 85 of file main.c.
Referenced by R_Register(), and R_SetupFrame().
vec3_t sxformaxis[4] |
vec3_t txformaxis[4] |
viddef_t vid |
Definition at line 22 of file main.c.
Referenced by D_WarpScreen(), IMG_ReadPixels(), R_ApplySIRDAlgorithum(), R_DrawFill32(), R_DrawFill8(), R_DrawFixedData(), R_DrawStretchData(), R_InitCaches(), R_ModeChanged(), R_SetupFrame(), and R_TileClear().
cvar_t* vid_fullscreen |
Definition at line 33 of file refresh.c.
Referenced by CL_InitRefresh(), CL_RunRefresh(), CL_ShutdownRefresh(), VID_GetFullscreen(), VID_ToggleFullscreen(), Win_MainWndProc(), and Win_SetMode().
cvar_t* vid_gamma |
Definition at line 104 of file main.c.
Referenced by R_BuildGammaTable(), and R_Register().
clipplane_t view_clipplanes[4] |
Definition at line 37 of file raster.c.
Referenced by R_AliasCheckFrameBBox(), R_BmodelCheckBBox(), R_ClipAndDrawPoly(), R_Init(), R_RecursiveWorldNode(), R_RenderBmodelFace(), R_RenderFace(), R_SetUpFrustumIndexes(), and R_TransformFrustum().
vec3_t vpn |
Definition at line 50 of file main.c.
Referenced by D_SolidSurf(), D_TurbulentSurf(), R_AliasSetUpTransform(), R_DrawBEntitiesOnList(), R_DrawParticles(), R_DrawSprite(), R_RotateBmodel(), R_SetupFrame(), R_TransformFrustum(), and R_TransformVector().
vec3_t vright |
Definition at line 51 of file main.c.
Referenced by D_SolidSurf(), D_TurbulentSurf(), R_AliasSetUpTransform(), R_DrawBEntitiesOnList(), R_DrawParticles(), R_DrawSprite(), R_RotateBmodel(), R_SetupFrame(), R_TransformFrustum(), and R_TransformVector().
vec3_t vup |
Definition at line 49 of file main.c.
Referenced by D_SolidSurf(), D_TurbulentSurf(), R_AliasSetUpTransform(), R_DrawBEntitiesOnList(), R_DrawParticles(), R_DrawSprite(), R_RotateBmodel(), R_SetupFrame(), R_TransformFrustum(), and R_TransformVector().