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_Coloured (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 218 of file r_polyse.c.
Referenced by R_AliasClipTriangle(), R_AliasClipTriangleRGB(), and R_AliasPreparePoints().
void R_PolysetDrawSpans8_33 | ( | spanpackage_t * | pspanpackage | ) |
void R_PolysetDrawSpans8_66 | ( | spanpackage_t * | pspanpackage | ) |
void R_PolysetDrawSpans8_Opaque_Coloured | ( | spanpackage_t * | pspanpackage | ) |
Definition at line 1198 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 937 of file r_polyse.c.
void R_PolysetFillSpans8 | ( | spanpackage_t * | pspanpackage | ) |
Definition at line 1277 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 97 of file r_polyse.c.
Referenced by R_DrawTriangle(), and R_RasterizeAliasPolySmooth().
int a_sstepxfrac |
Definition at line 89 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), R_PolysetDrawSpans8_33(), R_PolysetDrawSpans8_66(), R_PolysetDrawSpans8_Opaque_Coloured(), and R_PolysetDrawThreshSpans8().
int a_ststepxwhole |
Definition at line 89 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), R_PolysetDrawSpans8_33(), R_PolysetDrawSpans8_66(), R_PolysetDrawSpans8_Opaque_Coloured(), and R_PolysetDrawThreshSpans8().
int a_tstepxfrac |
Definition at line 89 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), R_PolysetDrawSpans8_33(), R_PolysetDrawSpans8_66(), R_PolysetDrawSpans8_Opaque_Coloured(), and R_PolysetDrawThreshSpans8().
|
static |
Definition at line 122 of file r_polyse.c.
Referenced by R_PolysetSetUpForLineScan().
aliastriangleparms_t aliastriangleparms |
Definition at line 62 of file r_polyse.c.
Referenced by R_AliasClipTriangle(), R_AliasClipTriangleRGB(), R_AliasPreparePoints(), and R_DrawTriangle().
int d_aflatcolor |
Definition at line 68 of file r_polyse.c.
Referenced by R_PolysetFillSpans8(), and R_SetupFrame().
int d_aspancount |
Definition at line 95 of file r_polyse.c.
Referenced by R_PolysetDrawSpans8_33(), R_PolysetDrawSpans8_66(), R_PolysetDrawSpans8_Opaque_Coloured(), R_PolysetDrawSpansConstant8_33(), R_PolysetDrawSpansConstant8_66(), R_PolysetDrawThreshSpans8(), R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_countextrastep |
Definition at line 95 of file r_polyse.c.
Referenced by R_PolysetDrawSpans8_33(), R_PolysetDrawSpans8_66(), R_PolysetDrawSpans8_Opaque_Coloured(), R_PolysetDrawSpansConstant8_33(), R_PolysetDrawSpansConstant8_66(), R_PolysetDrawThreshSpans8(), R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_light |
Definition at line 102 of file r_polyse.c.
Referenced by CreatePipelines(), R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_lightb |
Definition at line 114 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_lightbasestep |
Definition at line 105 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_lightbasestepb |
Definition at line 112 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_lightbasestepg |
Definition at line 112 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_lightbasestepr |
Definition at line 112 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_lightextrastep |
Definition at line 104 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_lightextrastepb |
Definition at line 113 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_lightextrastepg |
Definition at line 113 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_lightextrastepr |
Definition at line 113 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_lightg |
Definition at line 114 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_lightr |
Definition at line 114 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
byte* d_pcolormap |
Definition at line 66 of file r_polyse.c.
byte* d_pdest |
Definition at line 100 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_pdestbasestep |
Definition at line 105 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_pdestextrastep |
Definition at line 104 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
void(* d_pdrawspans) (spanpackage_t *pspanpackage) |
Definition at line 130 of file r_polyse.c.
Referenced by R_AliasDrawModel(), R_PolysetCalcGradients(), and R_RasterizeAliasPolySmooth().
spanpackage_t* d_pedgespanpackage |
Definition at line 98 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
byte * d_ptex |
Definition at line 100 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_ptexbasestep |
Definition at line 105 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_ptexextrastep |
Definition at line 103 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
short* d_pz |
Definition at line 101 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_pzbasestep |
Definition at line 108 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_pzextrastep |
Definition at line 108 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_sfrac |
Definition at line 102 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_sfracbasestep |
Definition at line 106 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_sfracextrastep |
Definition at line 103 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_tfrac |
Definition at line 102 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_tfracbasestep |
Definition at line 106 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_tfracextrastep |
Definition at line 104 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_xdenom |
Definition at line 69 of file r_polyse.c.
Referenced by R_DrawTriangle(), and R_PolysetCalcGradients().
int d_zi |
Definition at line 102 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_zibasestep |
Definition at line 107 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
int d_ziextrastep |
Definition at line 107 of file r_polyse.c.
Referenced by R_PolysetScanLeftEdge_C(), and R_RasterizeAliasPolySmooth().
edgetable edgetables[12] |
Definition at line 73 of file r_polyse.c.
Referenced by R_PolysetSetEdgeTable().
byte iractive = 0 |
Definition at line 148 of file r_polyse.c.
Referenced by R_AliasPreparePoints().
byte irtable[256] |
Definition at line 149 of file r_polyse.c.
Referenced by R_PolysetDrawSpans8_Opaque_Coloured().
|
static |
Definition at line 920 of file r_polyse.c.
Referenced by R_PolysetDrawSpans8_33(), R_PolysetDrawSpans8_66(), R_PolysetDrawSpans8_Opaque_Coloured(), R_PolysetDrawSpansConstant8_33(), R_PolysetDrawSpansConstant8_66(), R_PolysetDrawThreshSpans8(), and R_PolysetFillSpans8().
|
static |
Definition at line 924 of file r_polyse.c.
Referenced by R_PolysetDrawSpans8_33(), R_PolysetDrawSpans8_66(), R_PolysetDrawSpans8_Opaque_Coloured(), and R_PolysetDrawThreshSpans8().
|
static |
Definition at line 922 of file r_polyse.c.
Referenced by R_PolysetDrawSpans8_33(), R_PolysetDrawSpans8_66(), R_PolysetDrawSpans8_Opaque_Coloured(), R_PolysetDrawSpansConstant8_33(), R_PolysetDrawSpansConstant8_66(), R_PolysetDrawThreshSpans8(), and R_PolysetFillSpans8().
|
static |
Definition at line 923 of file r_polyse.c.
Referenced by R_PolysetDrawSpans8_33(), R_PolysetDrawSpans8_66(), R_PolysetDrawSpans8_Opaque_Coloured(), and R_PolysetDrawThreshSpans8().
|
static |
Definition at line 926 of file r_polyse.c.
Referenced by R_PolysetDrawSpans8_33(), R_PolysetDrawSpans8_66(), R_PolysetDrawSpans8_Opaque_Coloured(), R_PolysetDrawSpansConstant8_33(), R_PolysetDrawSpansConstant8_66(), and R_PolysetDrawThreshSpans8().
|
static |
Definition at line 921 of file r_polyse.c.
Referenced by R_PolysetDrawSpans8_33(), R_PolysetDrawSpans8_66(), R_PolysetDrawSpans8_Opaque_Coloured(), and R_PolysetDrawThreshSpans8().
|
static |
Definition at line 921 of file r_polyse.c.
Referenced by R_PolysetDrawSpans8_33(), R_PolysetDrawSpans8_66(), R_PolysetDrawSpans8_Opaque_Coloured(), and R_PolysetDrawThreshSpans8().
|
static |
Definition at line 925 of file r_polyse.c.
Referenced by R_PolysetDrawSpans8_33(), R_PolysetDrawSpans8_66(), R_PolysetDrawSpans8_Opaque_Coloured(), R_PolysetDrawSpansConstant8_33(), R_PolysetDrawSpansConstant8_66(), and R_PolysetDrawThreshSpans8().
edgetable* pedgetable |
Definition at line 71 of file r_polyse.c.
Referenced by R_PolysetSetEdgeTable(), and R_RasterizeAliasPolySmooth().
|
static |
Definition at line 927 of file r_polyse.c.
Referenced by R_DrawSurfaceBlock8RGBX_mip0(), R_DrawSurfaceBlock8RGBX_mip1(), R_DrawSurfaceBlock8RGBX_mip2(), R_DrawSurfaceBlock8RGBX_mip3(), and R_PolysetDrawSpans8_Opaque_Coloured().
int r_lbstepx |
Definition at line 94 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), and R_RasterizeAliasPolySmooth().
int r_lbstepy |
Definition at line 94 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), and R_RasterizeAliasPolySmooth().
int r_lgstepx |
Definition at line 93 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), and R_RasterizeAliasPolySmooth().
int r_lgstepy |
Definition at line 93 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), and R_RasterizeAliasPolySmooth().
int r_lrstepx |
Definition at line 92 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), and R_RasterizeAliasPolySmooth().
int r_lrstepy |
Definition at line 92 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), and R_RasterizeAliasPolySmooth().
int r_lstepx |
Definition at line 89 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), R_PolysetDrawSpans8_33(), R_PolysetDrawSpans8_66(), R_PolysetDrawSpans8_Opaque_Coloured(), R_PolysetDrawThreshSpans8(), and R_RasterizeAliasPolySmooth().
int r_lstepy |
Definition at line 90 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), and R_RasterizeAliasPolySmooth().
int r_p0[9] |
Definition at line 64 of file r_polyse.c.
Referenced by R_DrawTriangle(), R_PolysetCalcGradients(), and R_PolysetSetEdgeTable().
int r_p1[9] |
Definition at line 64 of file r_polyse.c.
Referenced by R_DrawTriangle(), R_PolysetCalcGradients(), and R_PolysetSetEdgeTable().
int r_p2[9] |
Definition at line 64 of file r_polyse.c.
Referenced by R_DrawTriangle(), R_PolysetCalcGradients(), and R_PolysetSetEdgeTable().
int r_sstepx |
Definition at line 90 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), and R_RasterizeAliasPolySmooth().
int r_sstepy |
Definition at line 90 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), and R_RasterizeAliasPolySmooth().
int r_tstepx |
Definition at line 90 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), and R_RasterizeAliasPolySmooth().
int r_tstepy |
Definition at line 90 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), and R_RasterizeAliasPolySmooth().
int r_zistepx |
Definition at line 91 of file r_polyse.c.
Referenced by R_PolysetCalcGradients(), R_PolysetDrawSpans8_33(), R_PolysetDrawSpans8_66(), R_PolysetDrawSpans8_Opaque_Coloured(), R_PolysetDrawSpansConstant8_33(), R_PolysetDrawSpansConstant8_66(), R_PolysetDrawThreshSpans8(), and R_RasterizeAliasPolySmooth().
int r_zistepy |
Definition at line 91 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 128 of file r_polyse.c.
Referenced by R_PolysetUpdateTables().
byte* skintable[MAX_LBM_HEIGHT] |
Definition at line 126 of file r_polyse.c.
Referenced by R_PolysetUpdateTables().
int skinwidth |
Definition at line 127 of file r_polyse.c.
Referenced by R_FloodFillSkin(), R_PolysetCalcGradients(), and R_PolysetUpdateTables().
|
static |
Definition at line 928 of file r_polyse.c.
Referenced by GL_Upload32(), GL_Upload8(), R_DrawSurfaceBlock8RGBX_mip0(), R_DrawSurfaceBlock8RGBX_mip1(), R_DrawSurfaceBlock8RGBX_mip2(), R_DrawSurfaceBlock8RGBX_mip3(), R_PolysetDrawSpans8_Opaque_Coloured(), and Vk_Upload8().
|
static |
Definition at line 99 of file r_polyse.c.
Referenced by M_Main_Draw(), and R_RasterizeAliasPolySmooth().