New sounds: mudball, mine bounce, hammer
authorgrammickj
Fri, 05 Aug 2011 12:19:01 +0100
changeset 5493 49769489af37
parent 5492 a0455a050ca8
child 5496 0ae489d724eb
child 5501 0ba2dca673e6
New sounds: mudball, mine bounce, hammer
hedgewars/uGears.pas
hedgewars/uTypes.pas
hedgewars/uVariables.pas
share/hedgewars/Data/Sounds/hammer.ogg
share/hedgewars/Data/Sounds/mineimpact.ogg
--- 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;
--- 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,
--- 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
Binary file share/hedgewars/Data/Sounds/hammer.ogg has changed
Binary file share/hedgewars/Data/Sounds/mineimpact.ogg has changed