Sand::Render
function · lighting · orchestration
- Address
0x67a520· 54 bytes, up to0x67a555- Signature
void __thiscall (Sand *this)- Meaning
- Updates the sand, then draws its grains 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
- RenderWeatherEffects lighting
Callees 4
- Sand::Update lighting
- Sand::DrawFixed lighting
- Sand::DrawShader lighting
- Mists::Render lighting
Calls and jumps by a bare address, from tables/calls.tsv.