#include "sw.h"
Go to the source code of this file.
Functions | |
static void | R_GenerateSpans (void) |
static void | R_GenerateSpansBackward (void) |
void | R_BeginEdgeFrame (void) |
static void | R_InsertNewEdges (edge_t *edgestoadd, edge_t *edgelist) |
static void | R_RemoveEdges (edge_t *pedge) |
static void | R_StepActiveU (edge_t *pedge) |
static void | R_CleanupSpan (void) |
static void | R_LeadingEdgeBackwards (edge_t *edge) |
static void | R_TrailingEdge (surf_t *surf, edge_t *edge) |
static void | R_LeadingEdge (edge_t *edge) |
void | R_ScanEdges (void) |
static int | D_MipLevelForScale (float scale) |
static void | D_FlatFillSurface (surf_t *surf, uint32_t color) |
static void | D_CalcGradients (mface_t *pface) |
static void | D_BackgroundSurf (surf_t *s) |
static void | D_TurbulentSurf (surf_t *s) |
static void | D_SkySurf (surf_t *s) |
static void | D_SolidSurf (surf_t *s) |
static void | D_DrawflatSurfaces (void) |
static void | D_DrawZSurfaces (void) |
void | D_DrawSurfaces (void) |
Variables | |
edge_t * | auxedges |
edge_t * | r_edges |
edge_t * | edge_p |
edge_t * | edge_max |
surf_t * | auxsurfaces |
surf_t * | surfaces |
surf_t * | surface_p |
surf_t * | surf_max |
edge_t * | newedges [MAXHEIGHT] |
edge_t * | removeedges [MAXHEIGHT] |
static espan_t * | span_p |
static espan_t * | max_span_p |
int | r_currentkey |
static int | current_iv |
static int | edge_head_u_shift20 |
static int | edge_tail_u_shift20 |
static void(* | pdrawfunc )(void) |
static edge_t | edge_head |
static edge_t | edge_tail |
static edge_t | edge_aftertail |
static edge_t | edge_sentinel |
static float | fv |
static int | miplevel |
static vec3_t | transformed_modelorg |
static vec3_t | world_transformed_modelorg |
|
static |
Definition at line 718 of file edge.c.
Referenced by D_SkySurf(), D_SolidSurf(), and D_TurbulentSurf().
Definition at line 694 of file edge.c.
Referenced by D_BackgroundSurf(), D_DrawflatSurfaces(), and D_SkySurf().
|
static |
Definition at line 234 of file edge.c.
Referenced by R_GenerateSpans(), and R_GenerateSpansBackward().
Definition at line 341 of file edge.c.
Referenced by R_GenerateSpans(), and R_GenerateSpansBackward().
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().
|
static |
Definition at line 48 of file edge.c.
Referenced by R_CleanupSpan(), R_LeadingEdge(), R_LeadingEdgeBackwards(), R_ScanEdges(), and R_TrailingEdge().
|
static |
Definition at line 56 of file edge.c.
Referenced by R_ScanEdges(), and R_StepActiveU().
|
static |
Definition at line 54 of file edge.c.
Referenced by R_GenerateSpans(), R_GenerateSpansBackward(), and R_ScanEdges().
|
static |
Definition at line 50 of file edge.c.
Referenced by R_GenerateSpans(), R_GenerateSpansBackward(), and R_ScanEdges().
edge_t * edge_max |
Definition at line 32 of file edge.c.
Referenced by R_BeginEdgeFrame(), R_RenderBmodelFace(), and R_RenderFace().
edge_t * edge_p |
Definition at line 32 of file edge.c.
Referenced by R_BeginEdgeFrame(), R_EmitEdge(), R_RenderBmodelFace(), and R_RenderFace().
|
static |
Definition at line 57 of file edge.c.
Referenced by R_ScanEdges().
|
static |
Definition at line 55 of file edge.c.
Referenced by R_GenerateSpans(), R_GenerateSpansBackward(), R_ScanEdges(), and R_StepActiveU().
|
static |
Definition at line 50 of file edge.c.
Referenced by R_CleanupSpan(), and R_ScanEdges().
|
static |
Definition at line 59 of file edge.c.
Referenced by CL_MuzzleFlash(), R_AliasClipTriangle(), R_AliasProjectAndClipTestFinalVert(), R_AliasTransformFinalVerts(), R_LeadingEdge(), and R_ScanEdges().
|
static |
Definition at line 44 of file edge.c.
Referenced by R_ScanEdges().
|
static |
Definition at line 61 of file edge.c.
Referenced by D_CacheSurface(), D_CalcGradients(), D_SkySurf(), D_SolidSurf(), D_TurbulentSurf(), and GL_Upload32().
Definition at line 41 of file edge.c.
Referenced by R_BeginEdgeFrame(), R_EmitEdge(), and R_ScanEdges().
Definition at line 52 of file edge.c.
Referenced by R_BeginEdgeFrame().
int r_currentkey |
Definition at line 46 of file edge.c.
Referenced by R_BeginEdgeFrame(), R_DrawSubmodelPolygons(), R_EmitSkyBox(), R_RecursiveWorldNode(), and R_RenderFace().
edge_t* r_edges |
Definition at line 32 of file edge.c.
Referenced by R_BeginEdgeFrame(), R_EdgeDrawing(), R_EmitCachedEdge(), and R_RenderFace().
Definition at line 42 of file edge.c.
Referenced by R_BeginEdgeFrame(), R_EmitEdge(), and R_ScanEdges().
|
static |
Definition at line 44 of file edge.c.
Referenced by R_CleanupSpan(), R_LeadingEdge(), R_LeadingEdgeBackwards(), R_ScanEdges(), and R_TrailingEdge().
surf_t * surf_max |
Definition at line 35 of file edge.c.
Referenced by R_EdgeDrawing(), R_NewMap(), R_RenderBmodelFace(), and R_RenderFace().
surf_t * surface_p |
Definition at line 35 of file edge.c.
Referenced by D_DrawflatSurfaces(), D_DrawSurfaces(), D_DrawZSurfaces(), R_BeginEdgeFrame(), R_EmitCachedEdge(), R_EmitEdge(), R_NewMap(), R_RenderBmodelFace(), R_RenderFace(), and R_ScanEdges().
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().
|
static |
Definition at line 659 of file edge.c.
Referenced by D_CalcGradients(), D_DrawSurfaces(), D_SolidSurf(), and D_TurbulentSurf().
|
static |
Definition at line 660 of file edge.c.
Referenced by D_DrawSurfaces(), D_SolidSurf(), and D_TurbulentSurf().