XenevaOS
Loading...
Searching...
No Matches
Classes | Macros | Functions | Variables
r_bsp.c File Reference
#include "doomdef.h"
#include "m_bbox.h"
#include "i_system.h"
#include "r_main.h"
#include "r_plane.h"
#include "r_things.h"
#include "doomstat.h"
#include "r_state.h"
Include dependency graph for r_bsp.c:

Classes

struct  cliprange_t
 

Macros

#define MAXSEGS   32
 

Functions

void R_StoreWallRange (int start, int stop)
 
void R_ClearDrawSegs (void)
 
void R_ClipSolidWallSegment (int first, int last)
 
void R_ClipPassWallSegment (int first, int last)
 
void R_ClearClipSegs (void)
 
void R_AddLine (seg_t *line)
 
boolean R_CheckBBox (fixed_t *bspcoord)
 
void R_Subsector (int num)
 
void R_RenderBSPNode (int bspnum)
 

Variables

seg_t * curline
 
side_t * sidedef
 
line_t * linedef
 
sector_t * frontsector
 
sector_t * backsector
 
drawseg_t drawsegs [MAXDRAWSEGS]
 
drawseg_t * ds_p
 
cliprange_t * newend
 
cliprange_t solidsegs [MAXSEGS]
 
int checkcoord [12][4]
 

Macro Definition Documentation

◆ MAXSEGS

#define MAXSEGS   32

Function Documentation

◆ R_AddLine()

void R_AddLine ( seg_t *  line)

◆ R_CheckBBox()

boolean R_CheckBBox ( fixed_t *  bspcoord)

◆ R_ClearClipSegs()

void R_ClearClipSegs ( void  )

◆ R_ClearDrawSegs()

void R_ClearDrawSegs ( void  )

◆ R_ClipPassWallSegment()

void R_ClipPassWallSegment ( int  first,
int  last 
)

◆ R_ClipSolidWallSegment()

void R_ClipSolidWallSegment ( int  first,
int  last 
)

◆ R_RenderBSPNode()

void R_RenderBSPNode ( int  bspnum)

◆ R_StoreWallRange()

void R_StoreWallRange ( int  start,
int  stop 
)

◆ R_Subsector()

void R_Subsector ( int  num)

Variable Documentation

◆ backsector

sector_t* backsector

◆ checkcoord

int checkcoord[12][4]
Initial value:
=
{
{3,0,2,1},
{3,0,2,0},
{3,1,2,0},
{0},
{2,0,2,1},
{0,0,0,0},
{3,1,3,0},
{0},
{2,0,3,1},
{2,1,3,1},
{2,1,3,0}
}

◆ curline

seg_t* curline

◆ drawsegs

◆ ds_p

drawseg_t* ds_p

◆ frontsector

sector_t* frontsector

◆ linedef

line_t* linedef

◆ newend

cliprange_t* newend

◆ sidedef

side_t* sidedef

◆ solidsegs

cliprange_t solidsegs[MAXSEGS]