benilla-re systems structs docs

s_creditsTrack

global · sound

Address
0x836024 · 4 bytes, up to 0x836027
Type
int32_t
Meaning
Holds the credits music track index, -1 before the first
Confidence
verified, proof one
Finding
sound/music#credits-music

Finding: Credits music in sound: music

0x45b000 stops the glue music over 3.0 s and the credits music over 1.0 s, then, with the CVar enablemusic on, starts the seven-track credits list at track 0 and registers its frame handler, which starts the next track (index + 1, modulo 7) when one ends. The tracks are the seven city intro files from 0x836028, opened on bus 0 with flags 0x6 at volume 1.0.

The derivation is in the doc.