#include "sw.h"
Go to the source code of this file.
Classes | |
struct | spanletvars_t |
Macros | |
#define | AFFINE_SPANLET_SIZE 16 |
#define | AFFINE_SPANLET_SIZE_BITS 4 |
Functions | |
static void | R_DrawPoly (int iswater) |
static void | R_DrawSpanletOpaque (void) |
static void | R_DrawSpanletTurbulentBlended (void) |
static void | R_DrawSpanletConstantBlended (void) |
static void | R_DrawSpanletBlended (void) |
static void | R_DrawSpanletAlphaTestBlended (void) |
static int | R_ClipPolyFace (int nump, clipplane_t *pclipplane) |
static void | R_PolygonDrawSpans (espan_t *pspan, int iswater) |
static void | R_PolygonScanLeftEdge (void) |
static void | R_PolygonScanRightEdge (void) |
static void | R_ClipAndDrawPoly (float alpha, int isturbulent, int textured) |
static void | R_BuildPolygonFromSurface (mface_t *fa) |
static void | R_PolygonCalculateGradients (void) |
void | R_DrawAlphaSurfaces (void) |
void | R_IMFlatShadedQuad (vec3_t a, vec3_t b, vec3_t c, vec3_t d, color_t color, float alpha) |
void | R_DrawSprite (void) |
Variables | |
static spanletvars_t | s_spanletvars |
static fixed8_t | r_polyblendcolor [3] |
static espan_t * | s_polygon_spans |
static polydesc_t | r_polydesc |
mface_t * | r_alpha_surfaces |
static int * | r_turb_turb |
static int | clip_current |
static vec5_t | r_clip_verts [2][MAXWORKINGVERTS+2] |
static int | s_minindex |
static int | s_maxindex |
|
static |
Definition at line 533 of file poly.c.
Referenced by R_DrawAlphaSurfaces(), R_DrawSprite(), and R_IMFlatShadedQuad().
|
static |
Definition at line 116 of file poly.c.
Referenced by R_ClipAndDrawPoly().
Definition at line 101 of file poly.c.
Referenced by R_ClipAndDrawPoly().
Definition at line 77 of file poly.c.
Referenced by R_ClipAndDrawPoly().
void R_IMFlatShadedQuad | ( | vec3_t | a, |
vec3_t | b, | ||
vec3_t | c, | ||
vec3_t | d, | ||
color_t | color, | ||
float | alpha | ||
) |
Definition at line 671 of file poly.c.
Referenced by R_DrawPoly().
|
static |
Definition at line 45 of file poly.c.
Referenced by R_ClipAndDrawPoly(), and R_ClipPolyFace().
mface_t* r_alpha_surfaces |
Definition at line 41 of file poly.c.
Referenced by R_DrawAlphaSurfaces(), R_RenderBmodelFace(), and R_RenderFace().
|
static |
Definition at line 46 of file poly.c.
Referenced by R_BuildPolygonFromSurface(), R_ClipAndDrawPoly(), R_ClipPolyFace(), R_DrawSprite(), and R_IMFlatShadedQuad().
|
static |
Definition at line 35 of file poly.c.
Referenced by R_DrawSpanletConstantBlended(), and R_IMFlatShadedQuad().
|
static |
Definition at line 39 of file poly.c.
Referenced by R_BuildPolygonFromSurface(), R_ClipAndDrawPoly(), R_DrawPoly(), R_DrawSpanletAlphaTestBlended(), R_DrawSpanletBlended(), R_DrawSpanletConstantBlended(), R_DrawSpanletTurbulentBlended(), R_DrawSprite(), R_IMFlatShadedQuad(), R_PolygonCalculateGradients(), R_PolygonDrawSpans(), R_PolygonScanLeftEdge(), and R_PolygonScanRightEdge().
|
static |
Definition at line 43 of file poly.c.
Referenced by R_DrawSpanletTurbulentBlended(), and R_PolygonDrawSpans().
|
static |
Definition at line 48 of file poly.c.
Referenced by R_DrawPoly(), R_PolygonScanLeftEdge(), and R_PolygonScanRightEdge().
|
static |
Definition at line 48 of file poly.c.
Referenced by R_DrawPoly(), R_PolygonScanLeftEdge(), and R_PolygonScanRightEdge().
|
static |
Definition at line 37 of file poly.c.
Referenced by R_DrawPoly(), R_PolygonScanLeftEdge(), and R_PolygonScanRightEdge().
|
static |
Definition at line 33 of file poly.c.
Referenced by R_DrawSpanletAlphaTestBlended(), R_DrawSpanletBlended(), R_DrawSpanletConstantBlended(), R_DrawSpanletOpaque(), R_DrawSpanletTurbulentBlended(), and R_PolygonDrawSpans().