hedgewars/uConsts.pas
changeset 1861 98de5dc5fda7
parent 1854 6e05013899b2
child 1863 705c01571196
--- a/hedgewars/uConsts.pas	Wed Mar 04 16:35:36 2009 +0000
+++ b/hedgewars/uConsts.pas	Thu Mar 05 14:54:02 2009 +0000
@@ -50,7 +50,7 @@
 			sprCakeWalk, sprCakeDown, sprAMAmmosBW, sprWatermelon,
 			sprEvilTrace, sprHellishBomb, sprSeduction, sprDress,
 			sprCensored, sprDrill, sprHandDrill, sprHandBallgun, sprBalls,
-			sprPlane, sprHandPlane);
+			sprPlane, sprHandPlane, sprUtility);
 
 	TGearType = (gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag, // 3
 			gtGrave, gtUFO, gtShotgunShot, gtPickHammer, gtRope, // 8
@@ -246,6 +246,7 @@
 
 	posCaseAmmo    = $00000001;
 	posCaseHealth  = $00000002;
+	posCaseUtility = $00000004;
 
 	NoPointX = Low(LongInt);
 
@@ -471,7 +472,9 @@
 			(FileName:      'RCPlane'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
 			Width:  32; Height: 32; saveSurf: false),// sprPlane
 			(FileName:    'amRCPlane'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
-			Width:  32; Height: 32; saveSurf: false) // sprHandPlane
+			Width:  32; Height: 32; saveSurf: false), // sprHandPlane
+			(FileName:       'Utility'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
+			Width:  40; Height: 32; saveSurf: false) // sprUtility
 			);
 
 	Wavez: array [TWave] of record
@@ -1170,7 +1173,7 @@
 			PosSprite: sprWater),
 			(NameId: sidLowGravity;
 			NameTex: nil;
-			Probability: 200;
+			Probability: 20;
 			NumberInCase: 1;
 			Ammo: (Propz: ammoprop_NoCrosshair or
 						  ammoprop_DontHold or
@@ -1190,7 +1193,7 @@
 			PosSprite: sprWater),
 			(NameId: sidExtraDamage;
 			NameTex: nil;
-			Probability: 200;
+			Probability: 15;
 			NumberInCase: 1;
 			Ammo: (Propz: ammoprop_NoCrosshair or
 						  ammoprop_DontHold or
@@ -1210,7 +1213,7 @@
 			PosSprite: sprWater),
 			(NameId: sidInvulnerable;
 			NameTex: nil;
-			Probability: 200;
+			Probability: 20;
 			NumberInCase: 1;
 			Ammo: (Propz: ammoprop_NoCrosshair or
 						  ammoprop_DontHold or
@@ -1230,7 +1233,7 @@
 			PosSprite: sprWater),
 			(NameId: sidExtraTime;
 			NameTex: nil;
-			Probability: 200;
+			Probability: 30;
 			NumberInCase: 1;
 			Ammo: (Propz: ammoprop_NoCrosshair or
 						  ammoprop_DontHold or
@@ -1250,7 +1253,7 @@
 			PosSprite: sprWater),
 			(NameId: sidLaserSight;
 			NameTex: nil;
-			Probability: 200;
+			Probability: 15;
 			NumberInCase: 1;
 			Ammo: (Propz: ammoprop_NoCrosshair or
 						  ammoprop_DontHold or