Engine:
authorsmxx
Sat, 27 Mar 2010 17:32:46 +0000
changeset 3119 6e081232b8a8
parent 3118 1320933fd651
child 3120 85272d1d4fa3
Engine: * Updated engine to use voice packs' Melon.ogg * Added new drill rocket sound
hedgewars/GSHandlers.inc
hedgewars/uConsts.pas
share/hedgewars/Data/Sounds/Melon.ogg
--- a/hedgewars/GSHandlers.inc	Sat Mar 27 17:32:04 2010 +0000
+++ b/hedgewars/GSHandlers.inc	Sat Mar 27 17:32:46 2010 +0000
@@ -2447,7 +2447,7 @@
         exit;
         end;
 
-    Gear^.SoundChannel:= LoopSound(sndPickhammer);
+    Gear^.SoundChannel:= LoopSound(sndDrillRocket);
     Gear^.doStep:= @doStepDrillDrilling;
     dec(Gear^.Timer)
     end
--- a/hedgewars/uConsts.pas	Sat Mar 27 17:32:04 2010 +0000
+++ b/hedgewars/uConsts.pas	Sat Mar 27 17:32:46 2010 +0000
@@ -114,7 +114,7 @@
             sndNooo, sndHello, sndRopeShot, sndRopeAttach, sndRopeRelease,
             sndSwitchHog, sndVictory, sndSniperReload, sndSteps, sndLowGravity,
             sndHellishImpact1, sndHellishImpact2, sndHellishImpact3, sndHellishImpact4,
-            sndMelonImpact, sndDroplet1, sndDroplet2, sndDroplet3, sndEggBreak);
+            sndMelonImpact, sndDroplet1, sndDroplet2, sndDroplet3, sndEggBreak, sndDrillRocket);
 
     TAmmoType  = (amNothing, amGrenade, amClusterBomb, amBazooka, amBee, amShotgun, amPickHammer,
             amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch, amWhip,
@@ -800,7 +800,7 @@
             (FileName:           'Firepunch4.ogg'; Path: ptVoices),// sndFirepunch4
             (FileName:           'Firepunch5.ogg'; Path: ptVoices),// sndFirepunch5
             (FileName:           'Firepunch6.ogg'; Path: ptVoices),// sndFirepunch6
-            (FileName:                'Melon.ogg'; Path: ptSounds),// sndMelon
+            (FileName:                'Melon.ogg'; Path: ptVoices),// sndMelon
             (FileName:              'Hellish.ogg'; Path: ptSounds),// sndHellish
             (FileName:               'Yoohoo.ogg'; Path: ptSounds),// sndYoohoo
             (FileName:              'rcplane.ogg'; Path: ptSounds),// sndRCPlane
@@ -837,7 +837,8 @@
             (FileName:             'Droplet1.ogg'; Path: ptSounds),// sndDroplet1
             (FileName:             'Droplet2.ogg'; Path: ptSounds),// sndDroplet2
             (FileName:             'Droplet3.ogg'; Path: ptSounds),// sndDroplet3
-            (FileName:                         ''; Path: ptSounds) // sndEggBreak
+            (FileName:                         ''; Path: ptSounds),// sndEggBreak
+            (FileName:             'drillgun.ogg'; Path: ptSounds) // sndDrillRocket
             );
 
     Ammoz: array [TAmmoType] of record
Binary file share/hedgewars/Data/Sounds/Melon.ogg has changed