benilla-re systems structs docs

HandleBspCacheOption

function · cvar · orchestration

Address
0x689330 · 203 bytes, up to 0x6893fa
Signature
uint8_t __stdcall (const char *value, void *arg)
Meaning
Creates, clears or frees the BSP leaf cache, always accepting
Confidence
verified, proof two
Finding
cvar/options#distance-and-texture-settings

Finding: Distance and texture settings in cvar: options

Five settings belong to terrain's drawing and are described there: farclip, nearclip, textureLodDist and horizonfarclip (terrain/world#distance-settings) and anisotropic (terrain/render). Their callbacks are 0x688d40, 0x688d90, 0x6891f0, 0x689250 and 0x689110. bspcache creates or frees the BSP leaf cache. The farclip record has two readers beside the camera and the streaming window: the world initializer copies its value into the fog end, and the doodad draw ends its fade band at the world far clip less 50 when that is below 200.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 7

Calls and jumps by a bare address, from tables/calls.tsv.