benilla-re systems structs docs

s_groupLiquidArms

global · terrain

Address
0x6b63fc · 12 bytes, up to 0x6b6407
Type
uint32_t[3]
Meaning
Holds the three draw arms of a group's liquid: water, magma and none
Confidence
verified, proof one
Finding
terrain/groupdraw#group-liquid

Finding: Group liquid in terrain: map object draw

0x6b4060(group, flag) draws a group's liquid. The type is that of the first tile with liquid (0x6ba970); types 0, 4 and 8 draw water, 2, 3, 6 and 7 draw magma or slime, and the rest nothing. Water is drawn with blend 2 and no depth write, by the interior draw for a group without flags 0x48 and the exterior draw for the rest. The flag is the parity flag the flood stored; it is kept in 0xce269c.

The derivation is in the doc.