# MAXDRAWSEGS
const MAXDRAWSEGS = 256Defines the maximum maxdrawsegs accepted by the r defs subsystem.
src/r_defs.mlDefines map/render geometry records and decodes Doom patch headers consumed by software rasterization.
d_think.ml → src/d_think.mldoomdef.ml → src/doomdef.mlm_fixed.ml → src/m_fixed.mlp_mobj.ml → src/p_mobj.mldegenmobj_t struct
drawseg_t struct
line_t struct
const MAXDRAWSEGS = 256Defines the maximum maxdrawsegs accepted by the r defs subsystem.
node_t struct
inline function Patch_ColumnOffset(patchBytes, colIndex)Decodes the file-relative byte offset of one column stream from a Doom patch directory.
| Parameter | Type | Default | Description |
|---|---|---|---|
patchBytes | dynamic | — | Patch bytes value supplied to `Patch_ColumnOffset`. |
colIndex | dynamic | — | Index identifying col. |
function Patch_Height(patchBytes)Returns the signed pixel height stored in a Doom patch header.
| Parameter | Type | Default | Description |
|---|---|---|---|
patchBytes | dynamic | — | Patch bytes value supplied to `Patch_Height`. |
inline function Patch_LeftOffset(patchBytes)Returns the signed horizontal origin offset used to place a Doom patch.
| Parameter | Type | Default | Description |
|---|---|---|---|
patchBytes | dynamic | — | Patch bytes value supplied to `Patch_LeftOffset`. |
patch_t struct
inline function Patch_TopOffset(patchBytes)Returns the signed vertical origin offset used to place a Doom patch.
| Parameter | Type | Default | Description |
|---|---|---|---|
patchBytes | dynamic | — | Patch bytes value supplied to `Patch_TopOffset`. |
function Patch_Width(patchBytes)Returns the signed pixel width stored at the start of a Doom patch header.
| Parameter | Type | Default | Description |
|---|---|---|---|
patchBytes | dynamic | — | Patch bytes value supplied to `Patch_Width`. |
post_t struct
inline function RDefs_I16LE(b, off)Decodes a two-byte little-endian field with signed 16-bit interpretation.
| Parameter | Type | Default | Description |
|---|---|---|---|
b | dynamic | — | Second input operand. |
off | dynamic | — | Zero-based byte or element offset. |
inline function RDefs_I32LE(b, off)Decodes a four-byte little-endian field with signed 32-bit interpretation.
| Parameter | Type | Default | Description |
|---|---|---|---|
b | dynamic | — | Second input operand. |
off | dynamic | — | Zero-based byte or element offset. |
inline function RDefs_U16LE(b, off)Decodes an unsigned 16-bit little-endian field from renderer resource bytes.
| Parameter | Type | Default | Description |
|---|---|---|---|
b | dynamic | — | Second input operand. |
off | dynamic | — | Zero-based byte or element offset. |
inline function RDefs_U32LE(b, off)Decodes an unsigned 32-bit little-endian field from renderer resource bytes.
| Parameter | Type | Default | Description |
|---|---|---|---|
b | dynamic | — | Second input operand. |
off | dynamic | — | Zero-based byte or element offset. |
sector_t struct
seg_t struct
side_t struct
const SIL_BOTH = 3Defines sil both for the r defs subsystem.
const SIL_BOTTOM = 1Defines sil bottom for the r defs subsystem.
const SIL_NONE = 0Defines sil none for the r defs subsystem.
const SIL_TOP = 2Defines sil top for the r defs subsystem.
slopetype_t enum
spritedef_t struct
spriteframe_t struct
subsector_t struct
vertex_t struct
visplane_t struct
vissprite_t struct