hedgewars/uConsts.pas
changeset 1861 98de5dc5fda7
parent 1854 6e05013899b2
child 1863 705c01571196
equal deleted inserted replaced
1860:ce140b2b928a 1861:98de5dc5fda7
    48 			sprKamikaze, sprWhip, sprKowtow, sprSad, sprWave,
    48 			sprKamikaze, sprWhip, sprKowtow, sprSad, sprWave,
    49 			sprHurrah, sprLemonade, sprExplPart, sprExplPart2,
    49 			sprHurrah, sprLemonade, sprExplPart, sprExplPart2,
    50 			sprCakeWalk, sprCakeDown, sprAMAmmosBW, sprWatermelon,
    50 			sprCakeWalk, sprCakeDown, sprAMAmmosBW, sprWatermelon,
    51 			sprEvilTrace, sprHellishBomb, sprSeduction, sprDress,
    51 			sprEvilTrace, sprHellishBomb, sprSeduction, sprDress,
    52 			sprCensored, sprDrill, sprHandDrill, sprHandBallgun, sprBalls,
    52 			sprCensored, sprDrill, sprHandDrill, sprHandBallgun, sprBalls,
    53 			sprPlane, sprHandPlane);
    53 			sprPlane, sprHandPlane, sprUtility);
    54 
    54 
    55 	TGearType = (gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag, // 3
    55 	TGearType = (gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag, // 3
    56 			gtGrave, gtUFO, gtShotgunShot, gtPickHammer, gtRope, // 8
    56 			gtGrave, gtUFO, gtShotgunShot, gtPickHammer, gtRope, // 8
    57 			gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite, // 14
    57 			gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite, // 14
    58 			gtTeamHealthSorter, gtClusterBomb, gtCluster, gtShover, gtFlame, // 19
    58 			gtTeamHealthSorter, gtClusterBomb, gtCluster, gtShover, gtFlame, // 19
   244 	EXPLDoNotTouchHH      = $00000008;
   244 	EXPLDoNotTouchHH      = $00000008;
   245 	EXPLDontDraw          = $00000010;
   245 	EXPLDontDraw          = $00000010;
   246 
   246 
   247 	posCaseAmmo    = $00000001;
   247 	posCaseAmmo    = $00000001;
   248 	posCaseHealth  = $00000002;
   248 	posCaseHealth  = $00000002;
       
   249 	posCaseUtility = $00000004;
   249 
   250 
   250 	NoPointX = Low(LongInt);
   251 	NoPointX = Low(LongInt);
   251 
   252 
   252 	cHHFileName   = 'Hedgehog';
   253 	cHHFileName   = 'Hedgehog';
   253 	cCHFileName   = 'Crosshair';
   254 	cCHFileName   = 'Crosshair';
   469 			(FileName:      'Balls'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   470 			(FileName:      'Balls'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   470 			Width:  32; Height: 20; saveSurf: false),// sprBalls
   471 			Width:  32; Height: 20; saveSurf: false),// sprBalls
   471 			(FileName:      'RCPlane'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   472 			(FileName:      'RCPlane'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   472 			Width:  32; Height: 32; saveSurf: false),// sprPlane
   473 			Width:  32; Height: 32; saveSurf: false),// sprPlane
   473 			(FileName:    'amRCPlane'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   474 			(FileName:    'amRCPlane'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   474 			Width:  32; Height: 32; saveSurf: false) // sprHandPlane
   475 			Width:  32; Height: 32; saveSurf: false), // sprHandPlane
       
   476 			(FileName:       'Utility'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
       
   477 			Width:  40; Height: 32; saveSurf: false) // sprUtility
   475 			);
   478 			);
   476 
   479 
   477 	Wavez: array [TWave] of record
   480 	Wavez: array [TWave] of record
   478 			Sprite: TSprite;
   481 			Sprite: TSprite;
   479 			FramesCount: Longword;
   482 			FramesCount: Longword;
  1168 			SkipTurns: 4;
  1171 			SkipTurns: 4;
  1169 			PosCount: 1;
  1172 			PosCount: 1;
  1170 			PosSprite: sprWater),
  1173 			PosSprite: sprWater),
  1171 			(NameId: sidLowGravity;
  1174 			(NameId: sidLowGravity;
  1172 			NameTex: nil;
  1175 			NameTex: nil;
  1173 			Probability: 200;
  1176 			Probability: 20;
  1174 			NumberInCase: 1;
  1177 			NumberInCase: 1;
  1175 			Ammo: (Propz: ammoprop_NoCrosshair or
  1178 			Ammo: (Propz: ammoprop_NoCrosshair or
  1176 						  ammoprop_DontHold or
  1179 						  ammoprop_DontHold or
  1177                           ammoprop_Utility;
  1180                           ammoprop_Utility;
  1178 					Count: 1;
  1181 					Count: 1;
  1188 			SkipTurns: 0;
  1191 			SkipTurns: 0;
  1189 			PosCount: 1;
  1192 			PosCount: 1;
  1190 			PosSprite: sprWater),
  1193 			PosSprite: sprWater),
  1191 			(NameId: sidExtraDamage;
  1194 			(NameId: sidExtraDamage;
  1192 			NameTex: nil;
  1195 			NameTex: nil;
  1193 			Probability: 200;
  1196 			Probability: 15;
  1194 			NumberInCase: 1;
  1197 			NumberInCase: 1;
  1195 			Ammo: (Propz: ammoprop_NoCrosshair or
  1198 			Ammo: (Propz: ammoprop_NoCrosshair or
  1196 						  ammoprop_DontHold or
  1199 						  ammoprop_DontHold or
  1197                           ammoprop_Utility;
  1200                           ammoprop_Utility;
  1198 					Count: 1;
  1201 					Count: 1;
  1208 			SkipTurns: 0;
  1211 			SkipTurns: 0;
  1209 			PosCount: 1;
  1212 			PosCount: 1;
  1210 			PosSprite: sprWater),
  1213 			PosSprite: sprWater),
  1211 			(NameId: sidInvulnerable;
  1214 			(NameId: sidInvulnerable;
  1212 			NameTex: nil;
  1215 			NameTex: nil;
  1213 			Probability: 200;
  1216 			Probability: 20;
  1214 			NumberInCase: 1;
  1217 			NumberInCase: 1;
  1215 			Ammo: (Propz: ammoprop_NoCrosshair or
  1218 			Ammo: (Propz: ammoprop_NoCrosshair or
  1216 						  ammoprop_DontHold or
  1219 						  ammoprop_DontHold or
  1217                           ammoprop_Utility;
  1220                           ammoprop_Utility;
  1218 					Count: 1;
  1221 					Count: 1;
  1228 			SkipTurns: 0;
  1231 			SkipTurns: 0;
  1229 			PosCount: 1;
  1232 			PosCount: 1;
  1230 			PosSprite: sprWater),
  1233 			PosSprite: sprWater),
  1231 			(NameId: sidExtraTime;
  1234 			(NameId: sidExtraTime;
  1232 			NameTex: nil;
  1235 			NameTex: nil;
  1233 			Probability: 200;
  1236 			Probability: 30;
  1234 			NumberInCase: 1;
  1237 			NumberInCase: 1;
  1235 			Ammo: (Propz: ammoprop_NoCrosshair or
  1238 			Ammo: (Propz: ammoprop_NoCrosshair or
  1236 						  ammoprop_DontHold or
  1239 						  ammoprop_DontHold or
  1237                           ammoprop_Utility;
  1240                           ammoprop_Utility;
  1238 					Count: 1;
  1241 					Count: 1;
  1248 			SkipTurns: 0;
  1251 			SkipTurns: 0;
  1249 			PosCount: 1;
  1252 			PosCount: 1;
  1250 			PosSprite: sprWater),
  1253 			PosSprite: sprWater),
  1251 			(NameId: sidLaserSight;
  1254 			(NameId: sidLaserSight;
  1252 			NameTex: nil;
  1255 			NameTex: nil;
  1253 			Probability: 200;
  1256 			Probability: 15;
  1254 			NumberInCase: 1;
  1257 			NumberInCase: 1;
  1255 			Ammo: (Propz: ammoprop_NoCrosshair or
  1258 			Ammo: (Propz: ammoprop_NoCrosshair or
  1256 						  ammoprop_DontHold or
  1259 						  ammoprop_DontHold or
  1257                           ammoprop_Utility;
  1260                           ammoprop_Utility;
  1258 					Count: 1;
  1261 					Count: 1;