]> granicus.if.org Git - nethack/commitdiff
add a comment to include/sndprocs.h
authornhmall <nhmall@nethack.org>
Sat, 25 Feb 2023 19:51:59 +0000 (14:51 -0500)
committernhmall <nhmall@nethack.org>
Sat, 25 Feb 2023 19:51:59 +0000 (14:51 -0500)
include/sndprocs.h

index b5af8e5a3e499ec1c0eaf161d86913601d62eedf..6ed6134520270bbd17bc966d6812fae80244a260 100755 (executable)
@@ -139,6 +139,13 @@ enum instruments_broad {
 };
 #endif
 
+/*
+ * When adding entries to this enum list, please also add an entry to the
+ * soundeffect_automapping table in src/sounds.c, so that a soundlib that
+ * supports SND_SOUNDEFFECTS_AUTOMAP can locate a file meant to be mapped
+ * to the soundeffect.
+ */
+
 enum sound_effect_entries {
     se_zero_invalid                   = 0,
     se_faint_splashing                = 1,