benilla-re systems structs docs

s_mapObjectDrawList

global · terrain

Address
0xc7caf0 · 12 bytes, up to 0xc7cafb
Type
uint32_t[3]
Meaning
Holds the draw list of the map object groups the frame reached: link offset, tail and head
Confidence
verified, proof one
Finding
terrain/groupdraw#map-object-pass

Finding: Map object pass in terrain: map object draw

0x684840 draws the groups the frame linked in the list 0xc7caf8. For each group def it unlinks the def's node, and with world flag 0x100 set it sets matrix slot 8 to the translation by minus the camera times the instance matrix +0x94, sets the group fog flag, builds the def's lighting record, calls its two virtual slots, finishes the lighting at the camera and draws the group once for each frustum volume the def holds. It releases the volumes in every case.

The derivation is in the doc.