benilla-re systems structs docs

s_six

global · terrain

Address
0x802990 · 4 bytes, up to 0x802993
Type
float
Meaning
Holds 6.0
Confidence
verified, proof one
Finding
terrain/waterfx#ripple-emission

Finding: Ripple emission in terrain: water effects

0x68bda0 gates and relays an emission. In the immediate mode (0xc89db8 is 0) it makes the peak alpha t = 6x when x < 1/6, else 1.0, and passes t, the heading, the size and the lifetime and growth to 0x68f9f0. 0x68f9f0 negates the heading and 0x68f5c0 writes the record: position, heading, size, growth (final size less size, over lifetime), peak t, alpha 0, a rise rate t / (lifetime × 0.4), a decay rate −t / (lifetime × 0.6), the death time (the clock plus the lifetime) and the category. It copies in the transformed vertices of every liquid triangle that the box of half-size the final size and half-height 1.0 around the position overlaps.

The derivation is in the doc.