CMapObj::GroupLiquidAt
function · models · orchestration
- Address
0x6a4e00· 221 bytes, up to0x6a4edc- Signature
uint8_t __thiscall (CMapObj *this, uint32_t mask, const float *point, uint32_t *type, float *height, float *vector)- Meaning
- Asks a map object's groups in order for liquid at a point; the first answer wins
- Confidence
- verified, proof one
- Finding
- models/wmo#group-liquid-scope
Finding: Group liquid scope in models: map objects
0x6a4e00(mask, point, type, height, vector) asks the groups of one map object, in index order,
for liquid at a point in the object's space, and the first group that answers wins. A group is asked
only when its flags and the mask share no bit, the point is strictly inside its MOGI box on all
three axes (a NaN fails each test), and the group is loaded. The sole caller passes 0x2000 (Group flag tests). The box bounds the point above and below; inside it the group's grid has no floor.
The derivation is in the doc.
Callers 1
- GetMapObjectLiquid terrain
Callees 4
- CMapObj::IsGroupParsed models
- CMapObj::GetLoadedGroup models
- CMapObj::GetGroupPointer models
- CMapObjGroup::LiquidHeight models
Calls and jumps by a bare address, from tables/calls.tsv.