benilla-re systems structs docs

BuildMapLightList

function · lighting · orchestration

Address
0x6d6170 · 366 bytes, up to 0x6d62dd
Meaning
Collects the map's Light records, with the fallback light, into the light list
Confidence
verified, proof one
Finding
lighting/tables#per-map-light-list

Finding: Per-map light list in lighting: tables

Entering a map builds the light list 0xce98d8 from the Light records whose map column is the map id. Slot 0 is the map's record at position (0, 0, 0); the other records follow from slot 1 in table order. Without a record at the origin, slot 0 is the Light record with id 1, or null when the largest id is below 1. The list never holds fewer than one slot.

The derivation is in the doc.

Callers 2

Callees 3

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