CChunkLiquid::DrawOcean
function · terrain · orchestration
- Address
0x68dab0· 216 bytes, up to0x68db87- Signature
void __thiscall (CChunkLiquid *this)- Meaning
- Draws a liquid's ocean tiles with the current ocean frame
- Confidence
- verified, proof one
- Finding
- terrain/liquid#liquid-render-passes
Finding: Liquid render passes in terrain: liquid
0x68de40(pass) draws a liquid: pass 0 is the river, pass 1 the ocean and pass 2 magma, after
making the liquid's buffers when it has none and creating the pass's ramp texture once. Each pass
binds the current frame of type 4, 1 or 6, refills the vertices and the strips of tile type 4, 1
or 6 when the buffers are fresh, and draws the strip with the 40-byte vertex format. Tiles of any
other type are never drawn by these passes.
The derivation is in the doc.
Callers 1
- CChunkLiquid::Draw terrain
Callees 11
- GetTextureDeviceObject gx
- GxRsSetObject gx
- 0x58a010 gx
- GxBufLock gx
- GxBufUnlock gx
- GxVertexBufBind gx
- PassBufferToDevice gx
- GxPrimRenderOne gx
- GetLiquidFrame terrain
- CChunkLiquid::FillOceanVertices terrain
- CChunkLiquid::BuildStrip terrain
Calls and jumps by a bare address, from tables/calls.tsv.