benilla-re systems structs docs

Snow::Render

function · lighting · orchestration

Address
0x6790b0 · 54 bytes, up to 0x6790e5
Signature
void __thiscall (Snow *this)
Meaning
Updates the snow, then draws its flakes and mist when weather is visible
Confidence
verified, proof one
Finding
lighting/weather#weather-visibility

Finding: Weather visibility in lighting: weather

Weather draws only when the frame's visibility byte is set. The map object frame clears it; the world sets it when the camera is outside every map object group, and the portal walk sets it on reaching a group whose flags hold 0x148, or 0x40000 with a set byte in its record. Each effect's packet update runs before the test, so drops keep falling unseen indoors; the mist spawns and moves only in its draw, after the test, so it stops while unseen.

The derivation is in the doc.

Callers 1

Callees 4

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