benilla-re systems structs docs

s_groupLiquidList

global · terrain

Address
0xc7cafc · 12 bytes, up to 0xc7cb07
Type
uint32_t[3]
Meaning
Holds the group liquid draw list: the link offset, the tail and the head
Confidence
verified, proof one
Finding
terrain/liquidpass#group-liquid-pass

Finding: Group liquid pass in terrain: liquid passes

0x684cd0 draws the liquids of the map object groups in the frame's list (0xc7cafc). It builds the interior alpha ramp 0x6b6b60 when the list is not empty. For each group def it unlinks the node +0xd4, and with world flag 0x100 set it sets matrix 8 to the camera translation times the map object's matrix +0x94, makes a lighting record at the def, calls the def's fog and light slots, finishes at the camera and has the map object draw the group's liquid.

The derivation is in the doc.