soundlib terminology update - sound_triggers

Switch to using the term "sound triggers" for things that
result in a call to one of the soundlib routines.

SNDCAP_* renamed to SOUND_TRIGGER_*
sndcap field in the sound_procs struct changed to sound_triggers
This commit is contained in:
nhmall
2023-01-27 22:21:53 -05:00
parent 8560e61c96
commit 90895330c5
6 changed files with 103 additions and 204 deletions

View File

@@ -2337,8 +2337,7 @@ record_achievement(schar achidx)
* theme music or something. We do let the sound interface know
* that it's not the original achievement though.
*/
if (soundprocs.sound_achievement)
(*soundprocs.sound_achievement)(achidx, 0, repeat_achievement);
SoundAchievement(achidx, 0, repeat_achievement);
if (repeat_achievement)
return; /* already recorded, don't duplicate it */