AddFootprint
function · terrain · orchestration
- Address
0x699e70· 903 bytes, up to0x69a1f6- Signature
void __fastcall (void *a, void *b, uint32_t c, uint32_t d, uint32_t e, uint32_t f, uint32_t g)- Meaning
- Spawns a footprint: gathers the ground triangles under a step into a ring slot
- Confidence
- verified, proof one
- Finding
- terrain/footprints#footprint-spawn
Finding: Footprint spawn in terrain: footprints
0x699e70 adds a footprint: texture record index (ecx), the size pair pointer (edx), then on
the stack the centre position pointer, the facing angle, the mirror flag, the terrain type and
the ring flag. It spawns nothing when the index is at or past the record count, the terrain type
is above the TerrainType id bound or its row is null or lacks bit 0 of the flags at +0x14, or
the ground has no triangle in the box. Otherwise the box holds the ground triangles under the step.
The derivation is in the doc.
Callers 1
- CWorld::AddFootprint terrain
Callees 10
- OsGetAsyncTimeMs core
- QueryWorldTriangles terrain
- BuildFootprintBox terrain
- BuildFootprintMatrix terrain
- ClearFootprintTexture terrain
- FreeFootprintArray terrain
- GrowFootprintVertices terrain
- GetFootprintLink terrain
- BuildDecalTransforms lighting
- TransformPoint cmath
Calls and jumps by a bare address, from tables/calls.tsv.