Go to the source code of this file.
Classes | |
struct | evert_t |
Macros | |
#define | MAXLEFTCLIPEDGES 100 |
#define | FULLY_CLIPPED_CACHED 0x80000000 |
#define | FRAMECOUNT_MASK 0x7FFFFFFF |
Functions | |
void | R_InitSkyBox (void) |
void | R_EmitSkyBox (void) |
void | R_EmitEdge (mvertex_t *pv0, mvertex_t *pv1) |
void | R_ClipEdge (mvertex_t *pv0, mvertex_t *pv1, clipplane_t *clip) |
void | R_EmitCachedEdge (void) |
void | R_RenderFace (msurface_t *fa, int clipflags) |
void | R_RenderBmodelFace (bedge_t *pedges, msurface_t *psurf) |
Variables | |
unsigned int | cacheoffset |
int | c_faceclip |
clipplane_t * | entity_clipplanes |
clipplane_t | view_clipplanes [4] |
clipplane_t | world_clipplanes [16] |
medge_t * | r_pedge |
qboolean | r_leftclipped |
qboolean | r_rightclipped |
static qboolean | makeleftedge |
static qboolean | makerightedge |
qboolean | r_nearzionly |
int | sintable [4200] |
int | intsintable [4200] |
int | blanktable [4200] |
mvertex_t | r_leftenter |
mvertex_t | r_leftexit |
mvertex_t | r_rightenter |
mvertex_t | r_rightexit |
int | r_emitted |
float | r_nearzi |
float | r_u1 |
float | r_v1 |
float | r_lzi1 |
int | r_ceilv1 |
qboolean | r_lastvertvalid |
int | r_skyframe |
msurface_t * | r_skyfaces |
mplane_t | r_skyplanes [6] |
mtexinfo_t | r_skytexinfo [6] |
mvertex_t * | r_skyverts |
medge_t * | r_skyedges |
int * | r_skysurfedges |
int | skybox_planes [12] = {2,-128, 0,-128, 2,128, 1,128, 0,128, 1,-128} |
int | box_surfedges [24] |
int | box_edges [24] = { 1,2, 2,3, 3,4, 4,1, 1,5, 5,6, 6,2, 7,8, 8,6, 5,7, 8,3, 7,4} |
int | box_faces [6] = {0,0,2,2,2,0} |
vec3_t | box_vecs [6][2] |
float | box_verts [8][3] |
void R_ClipEdge | ( | mvertex_t * | pv0, |
mvertex_t * | pv1, | ||
clipplane_t * | clip | ||
) |
void R_RenderBmodelFace | ( | bedge_t * | pedges, |
msurface_t * | psurf | ||
) |
Definition at line 738 of file r_rast.c.
Referenced by R_DrawSolidClippedSubmodelPolygons(), and R_RecursiveClipBPoly().
void R_RenderFace | ( | msurface_t * | fa, |
int | clipflags | ||
) |
Definition at line 525 of file r_rast.c.
Referenced by R_DrawSubmodelPolygons(), R_EmitSkyBox(), and R_RecursiveWorldNode().
int blanktable[4200] |
Definition at line 49 of file r_rast.c.
Referenced by NonTurbulent8(), R_InitTurb(), and R_PolygonDrawSpans().
int box_edges[24] = { 1,2, 2,3, 3,4, 4,1, 1,5, 5,6, 6,2, 7,8, 8,6, 5,7, 8,3, 7,4} |
Definition at line 80 of file r_rast.c.
Referenced by R_InitSkyBox().
int box_faces[6] = {0,0,2,2,2,0} |
Definition at line 82 of file r_rast.c.
Referenced by R_InitSkyBox().
int box_surfedges[24] |
Definition at line 78 of file r_rast.c.
Referenced by R_InitSkyBox().
vec3_t box_vecs[6][2] |
Definition at line 84 of file r_rast.c.
Referenced by R_InitSkyBox().
float box_verts[8][3] |
Definition at line 93 of file r_rast.c.
Referenced by R_EmitSkyBox().
int c_faceclip |
Definition at line 34 of file r_rast.c.
Referenced by R_PrintTimes(), R_RenderBmodelFace(), R_RenderFace(), and R_SetupFrame().
unsigned int cacheoffset |
Definition at line 32 of file r_rast.c.
Referenced by R_ClipEdge(), R_EmitEdge(), and R_RenderFace().
clipplane_t* entity_clipplanes |
int intsintable[4200] |
Definition at line 48 of file r_rast.c.
Referenced by D_WarpScreen(), and R_InitTurb().
|
static |
Definition at line 44 of file r_rast.c.
Referenced by R_RenderBmodelFace(), and R_RenderFace().
|
static |
Definition at line 44 of file r_rast.c.
Referenced by R_RenderBmodelFace(), and R_RenderFace().
int r_ceilv1 |
Definition at line 63 of file r_rast.c.
Referenced by R_EmitEdge().
int r_emitted |
Definition at line 60 of file r_rast.c.
Referenced by R_EmitCachedEdge(), R_EmitEdge(), R_RenderBmodelFace(), and R_RenderFace().
qboolean r_lastvertvalid |
Definition at line 65 of file r_rast.c.
Referenced by R_ClipEdge(), R_EmitEdge(), R_RenderBmodelFace(), and R_RenderFace().
qboolean r_leftclipped |
Definition at line 43 of file r_rast.c.
Referenced by R_ClipEdge(), R_RenderBmodelFace(), and R_RenderFace().
mvertex_t r_leftenter |
Definition at line 51 of file r_rast.c.
Referenced by R_ClipEdge(), R_RenderBmodelFace(), and R_RenderFace().
mvertex_t r_leftexit |
Definition at line 51 of file r_rast.c.
Referenced by R_ClipEdge(), R_RenderBmodelFace(), and R_RenderFace().
float r_lzi1 |
Definition at line 62 of file r_rast.c.
Referenced by R_EmitEdge().
float r_nearzi |
Definition at line 61 of file r_rast.c.
Referenced by R_EmitCachedEdge(), R_EmitEdge(), R_RenderBmodelFace(), and R_RenderFace().
qboolean r_nearzionly |
Definition at line 45 of file r_rast.c.
Referenced by R_EmitEdge(), R_RenderBmodelFace(), and R_RenderFace().
medge_t* r_pedge |
Definition at line 41 of file r_rast.c.
Referenced by GL_BuildPolygonFromSurface(), R_BuildPolygonFromSurface(), R_EmitCachedEdge(), R_EmitEdge(), R_RenderBmodelFace(), R_RenderFace(), and Vk_BuildPolygonFromSurface().
qboolean r_rightclipped |
Definition at line 43 of file r_rast.c.
Referenced by R_ClipEdge(), R_RenderBmodelFace(), and R_RenderFace().
mvertex_t r_rightenter |
Definition at line 52 of file r_rast.c.
Referenced by R_ClipEdge(), R_RenderBmodelFace(), and R_RenderFace().
mvertex_t r_rightexit |
Definition at line 52 of file r_rast.c.
Referenced by R_ClipEdge(), R_RenderBmodelFace(), and R_RenderFace().
medge_t* r_skyedges |
Definition at line 72 of file r_rast.c.
Referenced by R_InitSkyBox().
msurface_t* r_skyfaces |
Definition at line 68 of file r_rast.c.
Referenced by R_EmitSkyBox(), and R_InitSkyBox().
int r_skyframe |
Definition at line 66 of file r_rast.c.
Referenced by R_EmitSkyBox().
mplane_t r_skyplanes[6] |
Definition at line 69 of file r_rast.c.
Referenced by R_EmitSkyBox(), and R_InitSkyBox().
int* r_skysurfedges |
Definition at line 73 of file r_rast.c.
Referenced by R_InitSkyBox().
mtexinfo_t r_skytexinfo[6] |
Definition at line 70 of file r_rast.c.
Referenced by R_EmitSkyBox(), R_InitSkyBox(), and R_SetSky().
mvertex_t* r_skyverts |
Definition at line 71 of file r_rast.c.
Referenced by R_EmitSkyBox(), and R_InitSkyBox().
float r_u1 |
Definition at line 62 of file r_rast.c.
Referenced by R_EmitEdge().
float r_v1 |
Definition at line 62 of file r_rast.c.
Referenced by R_EmitEdge().
int sintable[4200] |
Definition at line 47 of file r_rast.c.
Referenced by R_InitTurb(), R_PolygonDrawSpans(), and Turbulent8().
int skybox_planes[12] = {2,-128, 0,-128, 2,128, 1,128, 0,128, 1,-128} |
Definition at line 76 of file r_rast.c.
Referenced by R_EmitSkyBox(), and R_InitSkyBox().
clipplane_t view_clipplanes[4] |
Definition at line 38 of file r_rast.c.
Referenced by R_AliasCheckFrameBBox(), R_BmodelCheckBBox(), R_ClipAndDrawPoly(), R_Init(), R_RecursiveWorldNode(), R_RenderBmodelFace(), R_RenderFace(), R_SetUpFrustumIndexes(), and R_TransformFrustum().
clipplane_t world_clipplanes[16] |