benilla-re systems structs docs

Mists::SpawnPuff

function · lighting · primitive

Address
0x67a7a0 · 474 bytes, up to 0x67a979
Signature
void __thiscall (Mists *this, void *puff, uint32_t birth)
Meaning
Spawns a puff, samples the ground along its path and cuts its life where the ground rises
Confidence
inferred
Finding
lighting/precipitation#mist-ground
Test
lighting::mist_basis_count_difftest, lighting::mist_gate_diff_difftest, lighting::mist_node_accumulate_difftest, lighting::mist_node_spacing_difftest

Finding: Mist ground in lighting: precipitation

A puff samples the ground along its path at spawn, up to 64 points, and its life is cut where the ground ahead rises: a step of more than 1.0 three samples on, 0.75 two on or 0.5 one on. Each frame the puff rises toward the sampled height plus half its size, by at most a quarter of its size.

The derivation is in the doc.

Callers 1

Callees 4

Calls and jumps by a bare address, from tables/calls.tsv.