DrawGroupLiquid
function · terrain · host
- Address
0x6b62e0· 283 bytes, up to0x6b63fa- Signature
void __thiscall (void *this, uint32_t arg2)- Meaning
- Draws a group's liquid by the type of its first liquid tile
- 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.
Callers 1
- DrawMapObjectGroupLiquid terrain
Callees 13
- GetTextureDeviceObject gx
- GxRsSetWord gx
- GxRsSetFloat gx
- GxRsSet gx
- GxRsSetObject gx
- GxRsPush gx
- GxRsPop gx
- GetLiquidFrame terrain
- DrawInteriorGroupLiquid terrain
- DrawExteriorGroupLiquid terrain
- DrawGroupMagma terrain
- CMapObjGroup::FirstLiquidTileType models
- GetLightState lighting
Calls and jumps by a bare address, from tables/calls.tsv.