benilla-re systems structs docs

HasLiveWeather

function · lighting · orchestration

Address
0x67c6e0 · 58 bytes, up to 0x67c719
Signature
bool __thiscall (void *this)
Meaning
Reports whether any effect still has live particles
Confidence
verified, proof one
Finding
lighting/weather#weather-driver

Finding: Weather driver in lighting: weather

Each frame the driver samples the player's motion, then takes the heading from the player's velocity when its horizontal speed is at least 1 and the unit flag is clear, else from the player's facing; the speed is the player's movement speed while the transport is at most √2 (v² ≤ 2, NaN included), else the transport's horizontal speed. A pending type with live particles and smooth on fades the old effect: the grade ramps toward min(target, 0.25) and each effect is told to stop. Otherwise the effects are torn down and the pending type is built. A grade or density still off its target ramps toward the full target.

The derivation is in the doc.

Callers 1

Callees 3

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