benilla-re systems structs docs

ConsoleSetShadowColor

function · terrain · primitive

Address
0x673290 · 197 bytes, up to 0x673354
Signature
uint32_t __fastcall (const char *name, const char *args)
Meaning
Packs four floats from 0 to 1 into the shadow colour, the first in the top byte
Confidence
verified, proof one
Finding
terrain/world#world-initialization
Test
terrain::color_scale255_difftest

Finding: World initialization in terrain: world

0x66f6c0 runs once at start-up. It ORs 0x7100b73 into the world flags, sets the alpha reference to 0x80, maxLOD to 3 and the far chunk level to 2, squares the detail doodad horizon (70.0 × 70.0 = 4900), reads the shadow level and the fog end from option objects, calls the scene table fill and the map initializer, builds the drift cloud and the weather manager, hands two callbacks to the model scene and registers 13 console commands.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 4

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