benilla-re systems structs docs

HandleFootprintsOption

function · cvar · orchestration

Address
0x6892e0 · 70 bytes, up to 0x689325
Signature
uint8_t __stdcall (const char *value, void *arg)
Meaning
Sets or clears the footprint bit of the world flags
Confidence
verified, proof two
Finding
cvar/options#switch-settings

Finding: Switch settings in cvar: options

Eleven settings are switches. A switch parses the text with SStrToInt and writes one line to the console. The world flag word 0xc7b2a4 holds nine of them (terrain/world#world-flags). fullAlpha and doodadAnim keep their bit inverted: the bit is set while the option is off, and the line is written only when the bit changes.

settingcallbacksets or clearsline
lod0x688920bit 0x4Terrain LOD enabled. or disabled.
fullAlpha0x688960bit 0x4000, set for 0Full alpha on doodads enabled. or disabled.
doodadAnim0x688a10bit 0x8000, set for 0; calls 0x6953d0Doodad animation enabled. or disabled.
mapShadows0x688a70bit 0x40Terrain shadows enabled. or disabled.
trilinear0x688ce0bit 0x800000; for any nonzero value with bit 31 of the word clear stores 4 through 0x449ac0 (0x688cee, 0x688d0d)Trilinear filtering enabled upon restart. or disabled upon restart.
specular0x688e20bit 0x8000000Specular enabled, Specular disabled. or the unsupported line
mapObjOverbright0x688e90byte 0xca809cMapObjOverbright enabled, disabled. or the unsupported line
pixelShaders0x688f40bit 0x10000000Pixel shaders enabled., disabled. or the unsupported line
showfootprints0x6892e0bit 0x400Showing foot prints. or Hiding foot prints.
triangleStrips0x689400bit 0x10000Triangle strips enabled on restart. or disabled on restart.
occlusion0x6894e0nothingUsing hardware occlusion test. or Disabled hardware occlusion test.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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