Go to the source code of this file.
Classes | |
struct | spanpackage_t |
struct | edgetable |
struct | adivtab_t |
Macros | |
#define | MASK_1K 0x3FF |
#define | DPS_MAXSPANS MAXHEIGHT+1 |
Functions | |
void | R_PolysetDrawSpans8_33 (spanpackage_t *pspanpackage) |
void | R_PolysetDrawSpans8_66 (spanpackage_t *pspanpackage) |
void | R_PolysetDrawSpans8_Opaque (spanpackage_t *pspanpackage) |
void | R_PolysetDrawThreshSpans8 (spanpackage_t *pspanpackage) |
void | R_PolysetCalcGradients (int skinwidth) |
void | R_DrawNonSubdiv (void) |
void | R_PolysetSetEdgeTable (void) |
void | R_RasterizeAliasPolySmooth (void) |
void | R_PolysetScanLeftEdge (int height) |
void | R_PolysetScanLeftEdge_C (int height) |
void | R_PolysetUpdateTables (void) |
void | R_DrawTriangle (void) |
void | FloorDivMod (float numer, float denom, int *quotient, int *rem) |
void | R_PolysetSetUpForLineScan (fixed8_t startvertu, fixed8_t startvertv, fixed8_t endvertu, fixed8_t endvertv) |
void | R_PolysetDrawSpansConstant8_33 (spanpackage_t *pspanpackage) |
void | R_PolysetDrawSpansConstant8_66 (spanpackage_t *pspanpackage) |
void | R_PolysetFillSpans8 (spanpackage_t *pspanpackage) |
#define DPS_MAXSPANS MAXHEIGHT+1 |
Definition at line 35 of file r_polyse.c.
#define MASK_1K 0x3FF |
Definition at line 29 of file r_polyse.c.
Definition at line 204 of file r_polyse.c.
Referenced by R_AliasClipTriangle(), and R_AliasPreparePoints().
void R_PolysetDrawSpans8_33 | ( | spanpackage_t * | pspanpackage | ) |
void R_PolysetDrawSpans8_66 | ( | spanpackage_t * | pspanpackage | ) |
void R_PolysetDrawSpans8_Opaque | ( | spanpackage_t * | pspanpackage | ) |
Definition at line 1038 of file r_polyse.c.
Referenced by R_AliasDrawModel(), R_PolysetCalcGradients(), and R_RasterizeAliasPolySmooth().
void R_PolysetDrawSpansConstant8_33 | ( | spanpackage_t * | pspanpackage | ) |
void R_PolysetDrawSpansConstant8_66 | ( | spanpackage_t * | pspanpackage | ) |
void R_PolysetDrawThreshSpans8 | ( | spanpackage_t * | pspanpackage | ) |
Definition at line 745 of file r_polyse.c.
void R_PolysetFillSpans8 | ( | spanpackage_t * | pspanpackage | ) |
Definition at line 1114 of file r_polyse.c.
Referenced by R_RasterizeAliasPolySmooth().
void R_PolysetSetUpForLineScan | ( | fixed8_t | startvertu, |
fixed8_t | startvertv, | ||
fixed8_t | endvertu, | ||
fixed8_t | endvertv | ||
) |
spanpackage_t* a_spans |
Definition at line 91 of file r_polyse.c.
Referenced by R_DrawTriangle(), and R_RasterizeAliasPolySmooth().
int a_sstepxfrac |
Definition at line 86 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), R_PolysetDrawSpans8_33(), R_PolysetDrawSpans8_66(), R_PolysetDrawSpans8_Opaque(), and R_PolysetDrawThreshSpans8().
int a_ststepxwhole |
Definition at line 86 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), R_PolysetDrawSpans8_33(), R_PolysetDrawSpans8_66(), R_PolysetDrawSpans8_Opaque(), and R_PolysetDrawThreshSpans8().
int a_tstepxfrac |
Definition at line 86 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), R_PolysetDrawSpans8_33(), R_PolysetDrawSpans8_66(), R_PolysetDrawSpans8_Opaque(), and R_PolysetDrawThreshSpans8().
|
static |
Definition at line 109 of file r_polyse.c.
Referenced by R_PolysetSetUpForLineScan().
aliastriangleparms_t aliastriangleparms |
Definition at line 59 of file r_polyse.c.
Referenced by R_AliasClipTriangle(), R_AliasPreparePoints(), and R_DrawTriangle().
int d_aflatcolor |
Definition at line 65 of file r_polyse.c.
Referenced by R_PolysetFillSpans8(), and R_SetupFrame().
int d_aspancount |
Definition at line 89 of file r_polyse.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_RasterizeAliasPolySmooth().
int d_countextrastep |
Definition at line 89 of file r_polyse.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_RasterizeAliasPolySmooth().
int d_light |
Definition at line 96 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_lightbasestep |
Definition at line 99 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_lightextrastep |
Definition at line 98 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
byte* d_pcolormap |
Definition at line 63 of file r_polyse.c.
byte* d_pdest |
Definition at line 94 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_pdestbasestep |
Definition at line 99 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_pdestextrastep |
Definition at line 98 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
void(* d_pdrawspans) (spanpackage_t *pspanpackage) |
Definition at line 117 of file r_polyse.c.
Referenced by R_AliasDrawModel(), R_PolysetCalcGradients(), and R_RasterizeAliasPolySmooth().
spanpackage_t* d_pedgespanpackage |
Definition at line 92 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
byte * d_ptex |
Definition at line 94 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_ptexbasestep |
Definition at line 99 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_ptexextrastep |
Definition at line 97 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
short* d_pz |
Definition at line 95 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_pzbasestep |
Definition at line 102 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_pzextrastep |
Definition at line 102 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_sfrac |
Definition at line 96 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_sfracbasestep |
Definition at line 100 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_sfracextrastep |
Definition at line 97 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_tfrac |
Definition at line 96 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_tfracbasestep |
Definition at line 100 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_tfracextrastep |
Definition at line 98 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_xdenom |
Definition at line 66 of file r_polyse.c.
Referenced by R_DrawTriangle(), and R_PolysetCalcGradients().
int d_zi |
Definition at line 96 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_zibasestep |
Definition at line 101 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_ziextrastep |
Definition at line 101 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
edgetable edgetables[12] |
Definition at line 70 of file r_polyse.c.
Referenced by R_PolysetSetEdgeTable().
byte iractive = 0 |
Definition at line 134 of file r_polyse.c.
Referenced by R_AliasPreparePoints().
byte irtable[256] |
Definition at line 135 of file r_polyse.c.
Referenced by R_PolysetDrawSpans8_Opaque().
edgetable* pedgetable |
Definition at line 68 of file r_polyse.c.
Referenced by R_PolysetSetEdgeTable(), and R_RasterizeAliasPolySmooth().
int r_lstepx |
Definition at line 86 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), R_PolysetDrawSpans8_33(), R_PolysetDrawSpans8_66(), R_PolysetDrawSpans8_Opaque(), R_PolysetDrawThreshSpans8(), and R_RasterizeAliasPolySmooth().
int r_lstepy |
Definition at line 87 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), and R_RasterizeAliasPolySmooth().
int r_p0[6] |
Definition at line 61 of file r_polyse.c.
Referenced by R_DrawTriangle(), R_PolysetCalcGradients(), and R_PolysetSetEdgeTable().
int r_p1[6] |
Definition at line 61 of file r_polyse.c.
Referenced by R_DrawTriangle(), R_PolysetCalcGradients(), and R_PolysetSetEdgeTable().
int r_p2[6] |
Definition at line 61 of file r_polyse.c.
Referenced by R_DrawTriangle(), R_PolysetCalcGradients(), and R_PolysetSetEdgeTable().
int r_sstepx |
Definition at line 87 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), and R_RasterizeAliasPolySmooth().
int r_sstepy |
Definition at line 87 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), and R_RasterizeAliasPolySmooth().
int r_tstepx |
Definition at line 87 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), and R_RasterizeAliasPolySmooth().
int r_tstepy |
Definition at line 87 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), and R_RasterizeAliasPolySmooth().
int r_zistepx |
Definition at line 88 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), R_PolysetDrawSpans8_33(), R_PolysetDrawSpans8_66(), R_PolysetDrawSpans8_Opaque(), R_PolysetDrawSpansConstant8_33(), R_PolysetDrawSpansConstant8_66(), R_PolysetDrawThreshSpans8(), and R_RasterizeAliasPolySmooth().
int r_zistepy |
Definition at line 88 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), and R_RasterizeAliasPolySmooth().
int rand1k[] |
Definition at line 25 of file r_polyse.c.
Referenced by R_PolysetDrawThreshSpans8().
int rand1k_index = 0 |
Definition at line 31 of file r_polyse.c.
Referenced by R_PolysetDrawThreshSpans8().
byte* skinstart |
Definition at line 115 of file r_polyse.c.
Referenced by R_PolysetUpdateTables().
byte* skintable[MAX_LBM_HEIGHT] |
Definition at line 113 of file r_polyse.c.
Referenced by R_PolysetUpdateTables().
int skinwidth |
Definition at line 114 of file r_polyse.c.
Referenced by R_FloodFillSkin(), R_PolysetCalcGradients(), and R_PolysetUpdateTables().
|
static |
Definition at line 93 of file r_polyse.c.
Referenced by M_Main_Draw(), and R_RasterizeAliasPolySmooth().