benilla-re systems structs docs

s_exteriorDrawerAdjust

global · terrain

Address
0xcbe584 · 4 bytes, up to 0xcbe587
Type
uint32_t
Meaning
Holds the offset added to the model for the exterior group drawer, always 0
Confidence
verified, proof one
Finding
terrain/groupdraw#group-draw

Finding: Group draw in terrain: map object draw

0x6b3f90(group, matrix, volumes) draws a loaded group once for each stored volume. It runs the portal vertex fade of the group once (the byte +0xbc), then for each volume loads it, moves it into the instance's space with the matrix, and calls the group drawer: the interior drawer for a group whose flags lack 0x48, the exterior drawer for the rest, with the group and the number of the volume. World flag 0x40000000 then draws the vertex normals and 0x1000 the portals.

The derivation is in the doc.