s_layerScrollOffsets
global · terrain
- Address
0xc5a480· 128 bytes, up to0xc5a4ff- Type
float[32]- Meaning
- Holds eight 16-byte records of two scroll offsets, a zero and a pad, for animated chunk layers
- 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.