diff --git a/doomsday/plugins/jdoom/defs/audio.ded b/doomsday/plugins/jdoom/defs/audio.ded index ac9df529b6..b84d51b226 100644 --- a/doomsday/plugins/jdoom/defs/audio.ded +++ b/doomsday/plugins/jdoom/defs/audio.ded @@ -1099,6 +1099,16 @@ Sound { Max channels = -1; } +Sound { + ID = "secret"; + Flags = "sf_shift2"; + Lump = "DSGETPOW"; + Link pitch = -1; + Link volume = -1; + Priority = 60; + Max channels = -1; +} + Texture Environment { ID = "Metal"; Texture { ID = "BIGDOOR1"; }; diff --git a/doomsday/plugins/jdoom/include/info.h b/doomsday/plugins/jdoom/include/info.h index 6b369b79ac..dec5110bfa 100644 --- a/doomsday/plugins/jdoom/include/info.h +++ b/doomsday/plugins/jdoom/include/info.h @@ -1794,6 +1794,7 @@ typedef enum { SFX_SKESIT, SFX_SKEATK, SFX_RADIO, + SFX_SECRET, NUMSFX } sfxenum_t; diff --git a/doomsday/plugins/jdoom/src/p_spec.c b/doomsday/plugins/jdoom/src/p_spec.c index 38787cc1c7..d6d45bd260 100644 --- a/doomsday/plugins/jdoom/src/p_spec.c +++ b/doomsday/plugins/jdoom/src/p_spec.c @@ -886,7 +886,7 @@ void P_PlayerInSpecialSector(player_t* player) if(cfg.secretMsg) { P_SetMessage(player, "You've found a secret area!", false); - S_ConsoleSound(SFX_GETPOW, 0, player - players); + S_ConsoleSound(SFX_SECRET, 0, player - players); } break; diff --git a/doomsday/plugins/jdoom64/defs/audio.ded b/doomsday/plugins/jdoom64/defs/audio.ded index 49988a6fd0..853b4666cf 100644 --- a/doomsday/plugins/jdoom64/defs/audio.ded +++ b/doomsday/plugins/jdoom64/defs/audio.ded @@ -1121,6 +1121,16 @@ Sound { Max channels = -1; } +Sound { + ID = "secret"; + Flags = "sf_shift2"; + Lump = "DSGETPOW"; + Link pitch = -1; + Link volume = -1; + Priority = 60; + Max channels = -1; +} + Texture Environment { ID = "Metal"; Texture { ID = "BIGDOOR1"; }; diff --git a/doomsday/plugins/jdoom64/include/info.h b/doomsday/plugins/jdoom64/include/info.h index 6611a0495e..33be4fb323 100644 --- a/doomsday/plugins/jdoom64/include/info.h +++ b/doomsday/plugins/jdoom64/include/info.h @@ -1714,6 +1714,7 @@ typedef enum { SFX_MTHDTH, SFX_HTIME, // < D64TC + SFX_SECRET, NUMSFX } sfxenum_t; diff --git a/doomsday/plugins/jdoom64/src/p_spec.c b/doomsday/plugins/jdoom64/src/p_spec.c index 7415e042ab..f6f053f52c 100644 --- a/doomsday/plugins/jdoom64/src/p_spec.c +++ b/doomsday/plugins/jdoom64/src/p_spec.c @@ -968,7 +968,7 @@ void P_PlayerInSpecialSector(player_t *player) if(cfg.secretMsg) { P_SetMessage(player, "You've found a secret area!", false); - // S_ConsoleSound(SFX_GETPOW, 0, player - players); // jd64 + // S_ConsoleSound(SFX_SECRET, 0, player - players); // jd64 } break; /* diff --git a/doomsday/plugins/jheretic/defs/audio.ded b/doomsday/plugins/jheretic/defs/audio.ded index 3bd3d27d03..32ec6d89ab 100644 --- a/doomsday/plugins/jheretic/defs/audio.ded +++ b/doomsday/plugins/jheretic/defs/audio.ded @@ -1028,6 +1028,13 @@ Sound { Priority = 1; } +Sound { + ID = "secret"; + Lump = "WPNUP"; + Priority = 32; + Max channels = 2; +} + Texture Environment { ID = "Metal"; Texture { ID = "BADPATCH"; }; diff --git a/doomsday/plugins/jheretic/include/info.h b/doomsday/plugins/jheretic/include/info.h index 7fc11c5d0a..591a459915 100644 --- a/doomsday/plugins/jheretic/include/info.h +++ b/doomsday/plugins/jheretic/include/info.h @@ -1905,6 +1905,7 @@ typedef enum { SFX_AMB9, SFX_AMB10, SFX_AMB11, + SFX_SECRET, NUMSFX } sfxenum_t; diff --git a/doomsday/plugins/jheretic/src/p_spec.c b/doomsday/plugins/jheretic/src/p_spec.c index 60712e892a..15afe0628d 100644 --- a/doomsday/plugins/jheretic/src/p_spec.c +++ b/doomsday/plugins/jheretic/src/p_spec.c @@ -1049,7 +1049,7 @@ void P_PlayerInSpecialSector(player_t *player) if(cfg.secretMsg) { P_SetMessage(player, "You've found a secret area!", false); - S_ConsoleSound(SFX_WPNUP, 0, player - players); + S_ConsoleSound(SFX_SECRET, 0, player - players); } break;