From 9931d05fc2b791e19ec73626444c7d569931c2b7 Mon Sep 17 00:00:00 2001 From: nhmall Date: Fri, 3 Feb 2023 13:40:13 -0500 Subject: [PATCH] follow-up: a couple of documentation errors --- doc/sound.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/sound.txt b/doc/sound.txt index cbe135b7d..b70755eff 100644 --- a/doc/sound.txt +++ b/doc/sound.txt @@ -84,10 +84,10 @@ There are 4 distinct types of sound sound_triggers used by NetHack. atmosphere or mood-producing or flavorful. Unlike the other interface functions, this one gets called to notify the sound interface - at the outset (amb_action_begin), at the - termination (amb_action_end), and + at the outset (ambience_begin), at the + termination (ambience_end), and periodically in-between as needed - (amb_action_upate), likely with a different + (ambience_upate), likely with a different hero proximity value. @@ -227,7 +227,8 @@ sound_play_usersound(char *filename, int32_t volume, int32_t usidx); sound_ambience(int32_t ambienceid, int32_t ambience_action, int32_t hero_proximity); -- NetHack will call this function when it wants a particular - ambience related sound played in order to provide ambience or flavor. + ambience related sound played in order to provide atomosphere + or flavor. -- The ambienceid is used to identify the particular ambience sound being sought. The abienceid identifiers are from the 'enum ambiences' list in include/sndprocs.h. It is recommended