benilla-re systems structs docs

InitRipples

function · terrain · host

Address
0x68f8b0 · 288 bytes, up to 0x68f9cf
Signature
void __cdecl (void)
Meaning
Loads the splash and wake textures, sizes the 128-record ripple pool and resets its counters
Confidence
verified, proof one
Finding
terrain/waterfx#ripple-pool

Finding: Ripple pool in terrain: water effects

0x68f8b0 loads XTextures\splash\splash.blp (category 0, the ring) and XTextures\splash\wake.blp (category 1, the wake) and makes a pool of 128 records of 0x50 bytes. Records 0 to 31 serve the active mover and 32 to 127 every other unit; 0x68f9f0 takes the next of the right range, wrapping to its first when it passes the last, so a busy pool overwrites the oldest record. Emission is allowed when the waterRipples setting is nonzero.

The derivation is in the doc.

Callers 1

Callees 7

Calls and jumps by a bare address, from tables/calls.tsv.