Add new sounds for secret weapons (#39)

This commit is contained in:
Cong
2014-05-17 23:36:12 +10:00
parent 55bd22b869
commit caeec17d81
7 changed files with 14 additions and 2 deletions

4
sounds/pulse.txt Normal file
View File

@@ -0,0 +1,4 @@
Derived from possiblelazer.wav by aust_paul
http://freesound.org/people/aust_paul/sounds/30935/
http://creativecommons.org/publicdomain/zero/1.0/

BIN
sounds/pulse.wav Normal file

Binary file not shown.

4
sounds/swell.txt Normal file
View File

@@ -0,0 +1,4 @@
Derived from missile_launch_2.wav by smcameron
http://freesound.org/people/smcameron/sounds/51468/
http://creativecommons.org/licenses/by/3.0/

BIN
sounds/swell.wav Normal file

Binary file not shown.

View File

@@ -89,6 +89,8 @@ SoundDevice gSoundDevice =
{"sounds/whistle.wav", 0, NULL},
{"sounds/powergun.wav", 0, NULL},
{"sounds/mg.wav", 0, NULL},
{"sounds/pulse.wav", 0, NULL},
{"sounds/swell.wav", 0, NULL},
{"sounds/shotgun_r.wav", 0, NULL},
{"sounds/powergun_r.wav", 0, NULL},
{"sounds/package_r.wav", 0, NULL},

View File

@@ -77,6 +77,8 @@ typedef enum
SND_DONE,
SND_LASER,
SND_MINIGUN,
SND_PULSE,
SND_SWELL,
SND_SHOTGUN_R,
SND_LASER_R,
SND_PACKAGE_R,

View File

@@ -276,7 +276,7 @@ void WeaponInitialize(void)
g->Bullet = BULLET_RAPID;
g->Cost = 1;
g->Lock = 4;
g->Sound = SND_MINIGUN;
g->Sound = SND_PULSE;
g->Recoil = 15.0 / 256 * 2 * PI;
g->MuzzleFlashSpriteName = "muzzle_flash_big";
g->MuzzleFlashColor = colorCyan;
@@ -287,7 +287,7 @@ void WeaponInitialize(void)
g->Bullet = BULLET_HEATSEEKER;
g->Cost = 7;
g->Lock = 30;
g->Sound = SND_LAUNCH;
g->Sound = SND_SWELL;
g->MuzzleFlashSpriteName = "muzzle_flash_big";
g->MuzzleFlashColor = colorRed;
g->MuzzleFlashDuration = 5;