benilla-re systems structs docs

s_liquidScrollDirections

global · terrain

Address
0x867918 · 64 bytes, up to 0x867957
Type
float[16]
Meaning
Holds the eight (x, y) steps the liquid texture offsets add each frame, the compass directions
Confidence
verified, proof one
Finding
terrain/world#world-frame

Finding: World frame in terrain: world

0x66fd50 runs each frame with a camera position and a camera. It stores the frame time, sizes the area of interest at the position, sets the teleport flag, advances the frame counter and the eight liquid texture offsets, captures the scene camera, updates the sky and fog, runs the map update and sets the fog end. With world flag 0x2000000 set and the camera liquid state not 0xf, it advects the drift cloud; the weather update always runs.

The derivation is in the doc.