# HG changeset patch # User grammickj # Date 1312543141 -3600 # Node ID 49769489af3766e0e06a1bf3c1728576d331e7dd # Parent a0455a050ca893257e62e05c32dd912d415b0821 New sounds: mudball, mine bounce, hammer diff -r a0455a050ca8 -r 49769489af37 hedgewars/uGears.pas --- a/hedgewars/uGears.pas Tue Aug 02 00:28:49 2011 +0200 +++ b/hedgewars/uGears.pas Fri Aug 05 12:19:01 2011 +0100 @@ -275,6 +275,8 @@ gear^.Density:= _1; end; gtSnowball: begin + gear^.ImpactSound:= sndMudballImpact; + gear^.nImpactSounds:= 1; gear^.Radius:= 4; gear^.Elasticity:= _1; gear^.Friction:= _1; @@ -328,7 +330,9 @@ RopePoints.Count:= 0; end; gtMine: begin - gear^.Health:= 10; + gear^.ImpactSound:= sndMineImpact; + gear^.nImpactSounds:= 1; + gear^.Health:= 10; gear^.State:= gear^.State or gstMoving; gear^.Radius:= 2; gear^.Elasticity:= _0_55; diff -r a0455a050ca8 -r 49769489af37 hedgewars/uTypes.pas --- a/hedgewars/uTypes.pas Tue Aug 02 00:28:49 2011 +0200 +++ b/hedgewars/uTypes.pas Fri Aug 05 12:19:01 2011 +0100 @@ -117,7 +117,8 @@ TSound = (sndNone, sndGrenadeImpact, sndExplosion, sndThrowPowerUp, sndThrowRelease, sndSplash, sndShotgunReload, sndShotgunFire, sndGraveImpact, - sndMineTick, sndPickhammer, sndGun, sndBee, sndJump1, sndJump2, + sndMineImpact, sndMineTick, sndMudballImpact, + sndPickhammer, sndGun, sndBee, sndJump1, sndJump2, sndJump3, sndYesSir, sndLaugh, sndIllGetYou, sndIncoming, sndMissed, sndStupid, sndFirstBlood, sndBoring, sndByeBye, sndSameTeam, sndNutter, sndReinforce, sndTraitor, sndRegret, diff -r a0455a050ca8 -r 49769489af37 hedgewars/uVariables.pas --- a/hedgewars/uVariables.pas Tue Aug 02 00:28:49 2011 +0200 +++ b/hedgewars/uVariables.pas Fri Aug 05 12:19:01 2011 +0100 @@ -633,7 +633,9 @@ (FileName: 'shotgunreload.ogg'; Path: ptSounds),// sndShotgunReload (FileName: 'shotgunfire.ogg'; Path: ptSounds),// sndShotgunFire (FileName: 'graveimpact.ogg'; Path: ptSounds),// sndGraveImpact + (FileName: 'mineimpact.ogg'; Path: ptSounds),// sndMineImpact (FileName: 'minetick.ogg'; Path: ptSounds),// sndMineTicks + (FileName: 'Droplet1.ogg'; Path: ptSounds),// sndMudballImpact (FileName: 'pickhammer.ogg'; Path: ptSounds),// sndPickhammer (FileName: 'gun.ogg'; Path: ptSounds),// sndGun (FileName: 'bee.ogg'; Path: ptSounds),// sndBee @@ -729,7 +731,7 @@ (FileName: 'Ooff1.ogg'; Path: ptVoices),// sndOoff1 (FileName: 'Ooff2.ogg'; Path: ptVoices),// sndOoff2 (FileName: 'Ooff3.ogg'; Path: ptVoices),// sndOoff3 - (FileName: 'whipcrack.ogg'; Path: ptSounds),// sndWhack + (FileName: 'hammer.ogg'; Path: ptSounds),// sndWhack (FileName: 'Comeonthen.ogg'; Path: ptVoices),// sndComeonthen (FileName: 'parachute.ogg'; Path: ptSounds),// sndParachute (FileName: 'bump.ogg'; Path: ptSounds),// sndBump diff -r a0455a050ca8 -r 49769489af37 share/hedgewars/Data/Sounds/hammer.ogg Binary file share/hedgewars/Data/Sounds/hammer.ogg has changed diff -r a0455a050ca8 -r 49769489af37 share/hedgewars/Data/Sounds/mineimpact.ogg Binary file share/hedgewars/Data/Sounds/mineimpact.ogg has changed