benilla-re systems structs docs

s_footprintTextures

global · terrain

Address
0xca0574 · 16 bytes, up to 0xca0583
Type
uint32_t[4]
Meaning
Holds the footprint texture records: capacity, count, data and granule
Confidence
verified, proof one
Finding
terrain/footprints#texture-table

Finding: Texture table in terrain: footprints

0x699bd0 sizes an array of texture records to the largest FootprintTextures id plus 1 and loads one texture for each row. The record is six words: the texture handle, then a record index list (capacity, count, data, granule) and the count of vertices to draw this frame. It also sets the two ring cursors: the unit ring starts at 0 and the general ring at 0x40.

The derivation is in the doc.