Tweak firepunch sound that Wuzzy found
authoralfadur
Sat, 27 Oct 2018 03:58:01 +0300
changeset 13999 a24c4a051960
parent 13998 23fb123bd70c
child 14000 ccb0ef084596
Tweak firepunch sound that Wuzzy found
hedgewars/uGearsUtils.pas
hedgewars/uSound.pas
hedgewars/uTypes.pas
share/hedgewars/Data/Sounds/firepunch_hit.ogg
--- a/hedgewars/uGearsUtils.pas	Sat Oct 27 00:01:53 2018 +0200
+++ b/hedgewars/uGearsUtils.pas	Sat Oct 27 03:58:01 2018 +0300
@@ -1346,6 +1346,9 @@
             gtExplosives: //,
             //gtStructure:
             begin
+            if Ammo^.Kind = gtFirePunch then
+                PlaySound(sndFirePunchHit);
+
             if Ammo^.Kind in [gtDEagleShot, gtSniperRifleShot, gtMinigunBullet] then
                 begin
                 VGear := AddVisualGear(t^.cX[i], t^.cY[i], vgtBulletHit);
--- a/hedgewars/uSound.pas	Sat Oct 27 00:01:53 2018 +0200
+++ b/hedgewars/uSound.pas	Sat Oct 27 03:58:01 2018 +0300
@@ -304,7 +304,8 @@
             (FileName:              'landgun.ogg'; Path: ptSounds; AltPath: ptNone),// sndLandGun
             (FileName:          'graveimpact.ogg'; Path: ptSounds; AltPath: ptNone),// sndCaseImpact
             // TODO: New Extra Damage sound
-            (FileName:             'hell_ugh.ogg'; Path: ptSounds; AltPath: ptNone) // sndExtraDamage
+            (FileName:             'hell_ugh.ogg'; Path: ptSounds; AltPath: ptNone),// sndExtraDamage
+            (FileName:        'firepunch_hit.ogg'; Path: ptSounds; AltPath: ptNone) // sndFirePunchHit
             );
 
 
--- a/hedgewars/uTypes.pas	Sat Oct 27 00:01:53 2018 +0200
+++ b/hedgewars/uTypes.pas	Sat Oct 27 03:58:01 2018 +0300
@@ -152,7 +152,7 @@
             sndPortalOpen, sndBlowTorch, sndCountdown1, sndCountdown2, sndCountdown3, sndCountdown4,
             sndCreeperDrop, sndCreeperWater, sndCreeperDie, sndCustom1, sndCustom2, sndCustom3, sndCustom4,
             sndCustom5, sndCustom6, sndCustom7, sndCustom8, sndMinigun, sndFlamethrower, sndIceBeamIdle,
-            sndLandGun, sndCaseImpact, sndExtraDamage);
+            sndLandGun, sndCaseImpact, sndExtraDamage, sndFirePunchHit);
 
     // Available ammo types to be used by hedgehogs
     TAmmoType  = (amNothing, amGrenade, amClusterBomb, amBazooka, amBee, amShotgun, amPickHammer, // 6
Binary file share/hedgewars/Data/Sounds/firepunch_hit.ogg has changed