User:Monster Iestyn/Source Code Documentation/r_bsp.h

From SRB2 Wiki
Jump to navigation Jump to search
This article or section is incomplete. It doesn't have all of the necessary core information on this topic. Please help the SRB2 Wiki by finishing this article.
Online link GitHub entry
File type C header file
#include guard __R_BSP__

Externs

Data name Data type Non-extern location(s) Description
*curline seg_t r_bsp.c
*sidedef side_t r_bsp.c
*linedef line_t r_bsp.c
*frontsector sector_t r_bsp.c
*backsector sector_t r_bsp.c
portalline boolean r_bsp.c
checkcoord[12][4] INT32 r_bsp.c
*curdrawsegs drawseg_t r_bsp.c
*drawsegs drawseg_t r_bsp.c
*ds_p drawseg_t r_bsp.c
doorclosed INT32 r_bsp.c
numpolys size_t r_bsp.c Declared only if POLYOBJECTS is defined
num_po_ptrs size_t r_bsp.c Declared only if POLYOBJECTS is defined
**po_ptrs polyobj_t r_bsp.c Declared only if POLYOBJECTS is defined

Function prototypes

Function name Return type Params Defined in Description
R_ClearClipSegs void none r_bsp.c
R_PortalClearClipSegs void INT32 start,
INT32 end
r_bsp.c
R_ClearDrawSegs void none r_bsp.c
R_RenderBSPNode void INT32 bspnum r_bsp.c
R_SortPolyObjects void subsector_t *sub r_bsp.c Declared only if POLYOBJECTS is defined
R_FakeFlat sector_t * sector_t *sec,
sector_t *tempsec,
INT32 *floorlightlevel,
INT32 *ceilinglightlevel,
boolean back
r_bsp.c
R_IsEmptyLine boolean seg_t *line,
sector_t *front,
sector_t *back
r_bsp.c
R_GetPlaneLight INT32 sector_t *sector,
fixed_t planeheight,
boolean underside
r_bsp.c
R_Prep3DFloors void sector_t *sector r_bsp.c