]> granicus.if.org Git - nethack/commitdiff
add comment above two sound delivery macros
authornhmall <nhmall@nethack.org>
Fri, 27 Jan 2023 15:05:16 +0000 (10:05 -0500)
committernhmall <nhmall@nethack.org>
Fri, 27 Jan 2023 15:05:16 +0000 (10:05 -0500)
include/sndprocs.h

index 9abde73a10fd6f47a35aa731e0cf95e7ea96d055..1e5cf3cf1441ed2c698f5bec91563ab864bbeb3f 100755 (executable)
@@ -425,6 +425,7 @@ SoundAchievement(0, sa2_xpleveldown, level);
             (*soundprocs.sound_soundeffect)(emptystr, (seid), (vol)); \
     } while(0)
 
+/* Player's perspective, not the hero's; no Deaf suppression */
 #define SoundeffectEvenIfDeaf(seid, vol) \
     do {                                                              \
         if (!soundprocs.sound_soundeffect                             \
@@ -441,6 +442,7 @@ SoundAchievement(0, sa2_xpleveldown, level);
 
 /*  void (*sound_achievement)(schar, schar, int32_t); */
 
+/* Player's perspective, not the hero's; no Deaf suppression */
 #define SoundAchievement(arg1, arg2, avals) \
     do {                                                                  \
         if (soundprocs.sound_achievement                                  \