From 2ba3afaeda903c9774a42616daa4c98667635992 Mon Sep 17 00:00:00 2001 From: toasterbabe Date: Mon, 26 Dec 2016 13:02:26 +0000 Subject: [PATCH] Implemented unique attract shield sound (patch.dta). --- src/info.c | 2 +- src/s_sound.c | 1 + src/sounds.c | 1 + src/sounds.h | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/info.c b/src/info.c index 68fd4b4b0..c0f205516 100644 --- a/src/info.c +++ b/src/info.c @@ -7033,7 +7033,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] = S_ATTRACT_ICON1, // spawnstate 1, // spawnhealth S_NULL, // seestate - sfx_s3k41, // seesound + sfx_attrsg, // seesound 8, // reactiontime sfx_None, // attacksound S_NULL, // painstate diff --git a/src/s_sound.c b/src/s_sound.c index 971961897..d3189d7b4 100644 --- a/src/s_sound.c +++ b/src/s_sound.c @@ -611,6 +611,7 @@ void S_StartSound(const void *origin, sfxenum_t sfx_id) case sfx_forcsg: case sfx_elemsg: case sfx_armasg: + case sfx_attrsg: case sfx_s3k3e: case sfx_s3k3f: case sfx_s3k41: diff --git a/src/sounds.c b/src/sounds.c index b551b73b5..b2758923d 100644 --- a/src/sounds.c +++ b/src/sounds.c @@ -170,6 +170,7 @@ sfxinfo_t S_sfx[NUMSFX] = {"forcsg", false, 60, 0, -1, NULL, 0, -1, -1, LUMPERROR}, // Force GET! {"elemsg", false, 60, 0, -1, NULL, 0, -1, -1, LUMPERROR}, // Elemental GET! {"armasg", false, 60, 0, -1, NULL, 0, -1, -1, LUMPERROR}, // Armaggeddon GET! + {"attrsg", false, 60, 0, -1, NULL, 0, -1, -1, LUMPERROR}, // Attract GET! {"shldls", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR}, // You LOSE! {"spdpad", false, 127, 0, -1, NULL, 0, -1, -1, LUMPERROR}, {"spkdth", false, 127, 0, -1, NULL, 0, -1, -1, LUMPERROR}, diff --git a/src/sounds.h b/src/sounds.h index 42fa4c308..42eeee31f 100644 --- a/src/sounds.h +++ b/src/sounds.h @@ -233,6 +233,7 @@ typedef enum sfx_forcsg, sfx_elemsg, sfx_armasg, + sfx_attrsg, sfx_shldls, sfx_spdpad, sfx_spkdth,