User:Monster Iestyn/Source Code Documentation/r_segs.h
Appearance
Online link | GitHub entry |
---|---|
File type | C header file |
#include guard | __R_SEGS__
|
This header file contains prototypes for the functions used to draw individual wall segments (or "segs").
Function name | Return type | Params | Defined in | Description |
---|---|---|---|---|
R_RenderMaskedSegRange
|
void | drawseg_t *ds ,INT32 x1 ,INT32 x2
|
r_segs.c
|
Renders a masked seg (a segment of a middle texture for a double-sided linedef) in the given range. |
R_RenderThickSideRange
|
void | drawseg_t *ds ,INT32 x1 ,INT32 x2 ,ffloor_t *pffloor 1
|
r_segs.c
|
Renders a thick side (a segment of an FOF wall texture) in the given range. |
R_StoreWallRange
|
void | INT32 start ,INT32 stop
|
r_segs.c
|
A wall segment will be drawn between start and stop pixels (inclusive). This function also handles clipping for adjacent floor/ceiling planes, marking the boundaries of where their floor/ceiling textures can be drawn later in the same tic.
The following can be drawn by this function via
The following won't be drawn by this function, but may be detected and marked to draw later in the same tic:
|
1 Named "pfloor" instead in the function definition given in r_segs.c