benilla-re systems structs docs

ClientDBInitialize

function · unassigned · orchestration

Address
0x53f4f0 · 32 bytes, up to 0x53f50f
Meaning
Loads every table, then runs four fix-ups and jumps to the light table conversion
Confidence
verified, proof one
Name from
the community database (idb)
Finding
lighting/tables#light-positions-at-load

Finding: Light positions at load in lighting: tables

At load the client converts every Light record not at the origin: it multiplies x, y, z and both radii by f32(1/36) (0x3ce38e39) and moves the point into world axes, x' = c − z·(1/36), y' = c − x·(1/36), z' = y·(1/36), with c = 17066.666 when the map is not one object and 0 when it is. A record at (0, 0, 0) keeps its file values, radii included.

The derivation is in the doc.

Callers 1

Callees 6

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