follow-up: a couple of documentation errors

This commit is contained in:
nhmall
2023-02-03 13:40:13 -05:00
parent 2acd8e7b29
commit 9931d05fc2
+5 -4
View File
@@ -84,10 +84,10 @@ There are 4 distinct types of sound sound_triggers used by NetHack.
atmosphere or mood-producing or flavorful. atmosphere or mood-producing or flavorful.
Unlike the other interface functions, this Unlike the other interface functions, this
one gets called to notify the sound interface one gets called to notify the sound interface
at the outset (amb_action_begin), at the at the outset (ambience_begin), at the
termination (amb_action_end), and termination (ambience_end), and
periodically in-between as needed periodically in-between as needed
(amb_action_upate), likely with a different (ambience_upate), likely with a different
hero proximity value. 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, sound_ambience(int32_t ambienceid, int32_t ambience_action,
int32_t hero_proximity); int32_t hero_proximity);
-- NetHack will call this function when it wants a particular -- 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 -- The ambienceid is used to identify the particular ambience sound
being sought. The abienceid identifiers are from the being sought. The abienceid identifiers are from the
'enum ambiences' list in include/sndprocs.h. It is recommended 'enum ambiences' list in include/sndprocs.h. It is recommended