Add piano icon on mouse cursor when selecting piano strike
authorWuzzy <Wuzzy2@mail.ru>
Sat, 18 May 2019 00:21:58 +0200
changeset 14997 216376ea0df1
parent 14996 7ff86274114e
child 14998 39dd40aca1b1
Add piano icon on mouse cursor when selecting piano strike
hedgewars/uTypes.pas
hedgewars/uVariables.pas
share/hedgewars/Data/Graphics/amPiano.png
--- a/hedgewars/uTypes.pas	Sat May 18 00:18:52 2019 +0200
+++ b/hedgewars/uTypes.pas	Sat May 18 00:21:58 2019 +0200
@@ -94,7 +94,7 @@
             sprFlakeL, sprSDFlakeL, sprCloudL, sprSDCloudL, sprCreeper, sprHandCreeper, sprMinigun,
             sprSliderInverted, sprFingerBack, sprFingerBackInv, sprTargetPBack, sprTargetPBackInv,
             sprHealthHud, sprHealthPoisonHud, sprVampHud, sprKarmaHud, sprMedicHud, sprMedicPoisonHud,
-            sprHaloHud, sprInvulnHUD
+            sprHaloHud, sprInvulnHUD, sprAmPiano
             );
 
     // Gears that interact with other Gears and/or Land
--- a/hedgewars/uVariables.pas	Sat May 18 00:18:52 2019 +0200
+++ b/hedgewars/uVariables.pas	Sat May 18 00:21:58 2019 +0200
@@ -839,7 +839,9 @@
             (FileName:    'HaloHUD'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
             Width:  22; Height: 11; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHaloHUD
             (FileName:    'InvulnHUD'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
-            Width:  18; Height: 18; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true)// sprInvulnHUD
+            Width:  18; Height: 18; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprInvulnHUD
+            (FileName: 'amPiano'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
+            Width:  42; Height: 42; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true)// sprAmPiano
             );
 
 
@@ -2093,8 +2095,8 @@
             maxAngle: 0;
             isDamaging: true;
             SkipTurns: 7;
-            PosCount: 0;
-            PosSprite: sprWater;
+            PosCount: 1;
+            PosSprite: sprAmPiano;
             ejectX: 0;
             ejectY: 0),
 
Binary file share/hedgewars/Data/Graphics/amPiano.png has changed