benilla-re systems structs docs

DrawMapObjectGroup

function · terrain · orchestration

Address
0x6b3f90 · 206 bytes, up to 0x6b405d
Signature
void __thiscall (void *this, void *def, void *group, uint32_t pass)
Meaning
Draws a loaded group once for each of its frustum volumes with the interior or exterior drawer
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.

Callers 1

Callees 6

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