#include "r_local.h"
Go to the source code of this file.
Functions | |
void | R_RotateBmodel (void) |
void | R_TransformFrustum (void) |
void | R_GenerateSpans (void) |
void | R_GenerateSpansBackward (void) |
void | R_LeadingEdge (edge_t *edge) |
void | R_LeadingEdgeBackwards (edge_t *edge) |
void | R_TrailingEdge (surf_t *surf, edge_t *edge) |
void | R_BeginEdgeFrame (void) |
void | R_InsertNewEdges (edge_t *edgestoadd, edge_t *edgelist) |
void | R_RemoveEdges (edge_t *pedge) |
void | R_StepActiveU (edge_t *pedge) |
void | R_CleanupSpan (void) |
void | R_ScanEdges (void) |
int | D_MipLevelForScale (float scale) |
void | D_FlatFillSurface (surf_t *surf, int color) |
void | D_CalcGradients (msurface_t *pface) |
void | D_BackgroundSurf (surf_t *s) |
void | D_TurbulentSurf (surf_t *s) |
void | D_SkySurf (surf_t *s) |
void | D_SolidSurf (surf_t *s) |
void | D_DrawflatSurfaces (void) |
void | D_DrawSurfaces (void) |
Variables | |
edge_t * | auxedges |
edge_t * | r_edges |
edge_t * | edge_p |
edge_t * | edge_max |
surf_t * | surfaces |
surf_t * | surface_p |
surf_t * | surf_max |
edge_t * | newedges [MAXHEIGHT] |
edge_t * | removeedges [MAXHEIGHT] |
espan_t * | span_p |
espan_t * | max_span_p |
int | r_currentkey |
int | current_iv |
int | edge_head_u_shift20 |
int | edge_tail_u_shift20 |
static void(* | pdrawfunc )(void) |
edge_t | edge_head |
edge_t | edge_tail |
edge_t | edge_aftertail |
edge_t | edge_sentinel |
float | fv |
static int | miplevel |
float | scale_for_mip |
int | ubasestep |
int | errorterm |
int | erroradjustup |
int | erroradjustdown |
msurface_t * | pface |
surfcache_t * | pcurrentcache |
vec3_t | transformed_modelorg |
vec3_t | world_transformed_modelorg |
vec3_t | local_modelorg |
void D_CalcGradients | ( | msurface_t * | pface | ) |
Definition at line 801 of file r_edge.c.
Referenced by D_SkySurf(), D_SolidSurf(), and D_TurbulentSurf().
Definition at line 779 of file r_edge.c.
Referenced by D_BackgroundSurf(), and D_DrawflatSurfaces().
int D_MipLevelForScale | ( | float | scale | ) |
Definition at line 284 of file r_edge.c.
Referenced by R_GenerateSpans(), and R_GenerateSpansBackward().
Definition at line 398 of file r_edge.c.
Referenced by R_GenerateSpans(), and R_GenerateSpansBackward().
Definition at line 187 of file r_misc.c.
Referenced by D_DrawSurfaces(), D_SolidSurf(), D_TurbulentSurf(), R_DrawBEntitiesOnList(), and R_RotateBmodel().
edge_t* auxedges |
Definition at line 48 of file r_edge.c.
Referenced by R_EdgeDrawing(), and R_NewMap().
int current_iv |
Definition at line 64 of file r_edge.c.
Referenced by R_CleanupSpan(), R_LeadingEdge(), R_LeadingEdgeBackwards(), R_ScanEdges(), and R_TrailingEdge().
edge_t edge_aftertail |
Definition at line 72 of file r_edge.c.
Referenced by R_ScanEdges(), and R_StepActiveU().
edge_t edge_head |
Definition at line 70 of file r_edge.c.
Referenced by R_GenerateSpans(), R_GenerateSpansBackward(), and R_ScanEdges().
int edge_head_u_shift20 |
Definition at line 66 of file r_edge.c.
Referenced by R_GenerateSpans(), R_GenerateSpansBackward(), and R_ScanEdges().
edge_t * edge_max |
Definition at line 49 of file r_edge.c.
Referenced by R_BeginEdgeFrame(), R_RenderBmodelFace(), and R_RenderFace().
edge_t * edge_p |
Definition at line 49 of file r_edge.c.
Referenced by R_BeginEdgeFrame(), R_EmitEdge(), R_RenderBmodelFace(), and R_RenderFace().
edge_t edge_sentinel |
Definition at line 73 of file r_edge.c.
Referenced by R_ScanEdges().
edge_t edge_tail |
Definition at line 71 of file r_edge.c.
Referenced by R_GenerateSpans(), R_GenerateSpansBackward(), R_ScanEdges(), and R_StepActiveU().
int edge_tail_u_shift20 |
Definition at line 66 of file r_edge.c.
Referenced by R_CleanupSpan(), and R_ScanEdges().
int erroradjustdown |
Definition at line 80 of file r_edge.c.
Referenced by R_PolysetDrawSpans8_33(), R_PolysetDrawSpans8_66(), R_PolysetDrawSpans8_Opaque(), R_PolysetDrawSpansConstant8_33(), R_PolysetDrawSpansConstant8_66(), R_PolysetDrawThreshSpans8(), R_PolysetScanLeftEdge_C(), and R_PolysetSetUpForLineScan().
int erroradjustup |
Definition at line 80 of file r_edge.c.
Referenced by R_PolysetDrawSpans8_33(), R_PolysetDrawSpans8_66(), R_PolysetDrawSpans8_Opaque(), R_PolysetDrawSpansConstant8_33(), R_PolysetDrawSpansConstant8_66(), R_PolysetDrawThreshSpans8(), R_PolysetScanLeftEdge_C(), and R_PolysetSetUpForLineScan().
int errorterm |
Definition at line 80 of file r_edge.c.
Referenced by R_PolysetDrawSpans8_33(), R_PolysetDrawSpans8_66(), R_PolysetDrawSpans8_Opaque(), R_PolysetDrawSpansConstant8_33(), R_PolysetDrawSpansConstant8_66(), R_PolysetDrawThreshSpans8(), R_PolysetScanLeftEdge_C(), and R_PolysetSetUpForLineScan().
float fv |
Definition at line 75 of file r_edge.c.
Referenced by CL_ParseMuzzleFlash(), R_AliasProjectAndClipTestFinalVert(), R_AliasTransformFinalVerts(), R_LeadingEdge(), and R_ScanEdges().
vec3_t local_modelorg |
Definition at line 745 of file r_edge.c.
Referenced by D_SolidSurf(), and D_TurbulentSurf().
espan_t * max_span_p |
Definition at line 60 of file r_edge.c.
Referenced by R_ScanEdges().
|
static |
Definition at line 77 of file r_edge.c.
Referenced by D_CacheSurface(), D_CalcGradients(), D_SkySurf(), D_SolidSurf(), D_TurbulentSurf(), and GL_Upload32().
Definition at line 57 of file r_edge.c.
Referenced by R_BeginEdgeFrame(), R_EmitEdge(), and R_ScanEdges().
surfcache_t* pcurrentcache |
Definition at line 742 of file r_edge.c.
Referenced by D_SolidSurf().
Definition at line 68 of file r_edge.c.
Referenced by R_BeginEdgeFrame().
msurface_t* pface |
Definition at line 741 of file r_edge.c.
Referenced by D_CalcGradients(), D_SkySurf(), D_SolidSurf(), and D_TurbulentSurf().
int r_currentkey |
Definition at line 62 of file r_edge.c.
Referenced by R_BeginEdgeFrame(), R_DrawSubmodelPolygons(), R_EmitSkyBox(), R_RecursiveWorldNode(), and R_RenderFace().
edge_t* r_edges |
Definition at line 49 of file r_edge.c.
Referenced by R_BeginEdgeFrame(), R_EdgeDrawing(), R_EmitCachedEdge(), and R_RenderFace().
Definition at line 58 of file r_edge.c.
Referenced by R_BeginEdgeFrame(), R_EmitEdge(), and R_ScanEdges().
float scale_for_mip |
Definition at line 79 of file r_edge.c.
Referenced by D_SolidSurf(), and D_ViewChanged().
espan_t* span_p |
Definition at line 60 of file r_edge.c.
Referenced by R_CleanupSpan(), R_LeadingEdge(), R_LeadingEdgeBackwards(), R_ScanEdges(), and R_TrailingEdge().
surf_t * surf_max |
Definition at line 51 of file r_edge.c.
Referenced by R_EdgeDrawing(), R_NewMap(), R_RenderBmodelFace(), and R_RenderFace().
surf_t * surface_p |
Definition at line 51 of file r_edge.c.
Referenced by D_DrawflatSurfaces(), D_DrawSurfaces(), R_BeginEdgeFrame(), R_EmitCachedEdge(), R_EmitEdge(), R_NewMap(), R_RenderBmodelFace(), R_RenderFace(), and R_ScanEdges().
surf_t* surfaces |
Definition at line 51 of file r_edge.c.
Referenced by D_DrawflatSurfaces(), D_DrawSurfaces(), 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().
vec3_t transformed_modelorg |
Definition at line 743 of file r_edge.c.
Referenced by D_CalcGradients(), D_DrawSurfaces(), D_SolidSurf(), and D_TurbulentSurf().
int ubasestep |
Definition at line 80 of file r_edge.c.
Referenced by R_PolysetDrawSpans8_33(), R_PolysetDrawSpans8_66(), R_PolysetDrawSpans8_Opaque(), R_PolysetDrawSpansConstant8_33(), R_PolysetDrawSpansConstant8_66(), R_PolysetDrawThreshSpans8(), R_PolysetScanLeftEdge_C(), R_PolysetSetUpForLineScan(), and R_RasterizeAliasPolySmooth().
vec3_t world_transformed_modelorg |
Definition at line 744 of file r_edge.c.
Referenced by D_DrawSurfaces(), D_SolidSurf(), and D_TurbulentSurf().