benilla-re systems structs docs

s_lightStore

global · lighting

Address
0xce9d60 · 20 bytes, up to 0xce9d73
Type
uint32_t[5]
Meaning
Holds the Light.dbc store: records, count, id map, largest id, loaded
Confidence
verified, proof one
Finding
lighting/overview#static-objects

Finding: Static objects in lighting: overview

The day-night file's initializers build its statics: the light state, the sky colour, cloud, star, night and unused tracks (celestial#static-tracks), the skybox table, the sky dome, the cloud object's octaves, the light list, the four disc records, the two glares, the star object, and the five DBC stores. The shadow file's clear the ramp texture buffer, its decal geometry lists and the decal colour, and store its two box ratios. Each pair is call body; jmp registrar, the registrar passing an exit hook to _atexit.

The derivation is in the doc.