s_liquidGroupParity
global · terrain
- Address
0xce269c· 4 bytes, up to0xce269f- Type
uint32_t- Meaning
- Holds the depth parity of the first liquid group, then the flag the group liquid draw reads
- Confidence
- verified, proof one
- Finding
- terrain/portals#group-callback
Finding: Group callback in terrain: map object visibility
0x6b4160(group) runs the registered callback 0xcde5b0 with the group index, the registered
instance and a flag, for a loaded group. A group with flag 0x1000 (liquid) that comes first sets
the liquid group switch 0xce66e8 and the parity 0xce269c to 0, and the flag passed is 1 when
that parity is 0.
The derivation is in the doc.