benilla-re systems structs docs

s_liquidFramesLoaded

global · terrain

Address
0xc89da4 · 8 bytes, up to 0xc89dab
Type
uint8_t[8]
Meaning
Holds 1 for a liquid type once all 30 of its frames have loaded
Confidence
verified, proof one
Finding
terrain/liquid#animated-textures

Finding: Animated textures in terrain: liquid

0x68aac0(type) returns the current frame of liquid type 0 to 7: with a period of 1.25 s, truncated to 1,250 ms, frame = nearest(float(30·(t mod 1250)/1250) − 0.5) for the clock t in milliseconds. The 30 frames load on first use from XTextures\river\lake_a.%d.blp, ocean\ocean_h, lava\lava, slime\slime, then lake_a, none, lava and slime for types 4 to 7, numbered 1 to 30.

The derivation is in the doc.