-
Notifications
You must be signed in to change notification settings - Fork 30
Sound
chino edited this page Jan 5, 2013
·
1 revision
Sounds are currently in wav format.
There is some interest to move them to other compressed and open formats.
See the FAQ.
Note: This information may be out dated now.
RenderScene()
STATUS_Normal:
STATUS_SinglePlayer:
ProcessLoopingSfx()
for each looping sfx
if sound not in range and loaded
release the sound
if in range and not loaded
load it
if in range and loaded
play it
ProcessSoundRoutines()
for each SfxThreadInfo[]
loads sound file into temporary buffer
if SfxThreadInfo.type == normal | panned | taunt
{
play sound
add to SfxHolder ist
if failed to add then free holder
}
if type is looping
add to SpotSfxList() to get played in ProcessLoopingSfx()