benilla-re systems structs docs

s_skyInitialized

global · lighting

Address
0xce9d5c · 4 bytes, up to 0xce9d5f
Type
uint32_t
Meaning
Holds the flag that InitSky sets and ShutdownSky clears after it destroys the discs, glares and stars
Confidence
verified, proof one
Finding
lighting/sky#sky-shutdown

Finding: Sky shutdown in lighting: sky

At a map unload the sky releases every interned skybox's model and frees its entry, releases the skybox scene and clears the three slot handles; the first time, it also releases the cloud texture, the three disc textures, both glares and the star model.

The derivation is in the doc.