benilla-re systems structs docs

SoundFrameHandler

function · sound · orchestration

Address
0x4578c0 · 151 bytes, up to 0x457956
Meaning
Recomputes the night flag from the game clock, ends a finished intro and runs the duck each frame
Confidence
verified, proof one
Finding
sound/interface#day-and-night

Finding: Day and night in sound: the interface

The frame handler recomputes the night flag each frame: day while the game clock lies in the range WowTime::InRange gets for 05:30 to 21:00 (any date), night otherwise. A change refreshes the ambience with a fade. The handler also ends a finished zone intro and runs the duck.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 6

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