mirror of
https://github.com/cxong/cdogs-sdl.git
synced 2025-07-23 07:23:01 +02:00
Add new sounds for secret weapons (#39)
This commit is contained in:
4
sounds/pulse.txt
Normal file
4
sounds/pulse.txt
Normal 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
BIN
sounds/pulse.wav
Normal file
Binary file not shown.
4
sounds/swell.txt
Normal file
4
sounds/swell.txt
Normal 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
BIN
sounds/swell.wav
Normal file
Binary file not shown.
@@ -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},
|
||||
|
@@ -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,
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user