hedgewars/uConsts.pas
changeset 2023 41d3afaa20c7
parent 2017 7845c77c8d31
child 2042 905c554d62e6
equal deleted inserted replaced
2022:9bbf8af42ace 2023:41d3afaa20c7
    60 			sprEvilTrace, sprHellishBomb, sprSeduction, sprDress,
    60 			sprEvilTrace, sprHellishBomb, sprSeduction, sprDress,
    61 			sprCensored, sprDrill, sprHandDrill, sprHandBallgun, sprBalls,
    61 			sprCensored, sprDrill, sprHandDrill, sprHandBallgun, sprBalls,
    62 			sprPlane, sprHandPlane, sprUtility, sprInvulnerable, sprVampiric, sprGirder, 
    62 			sprPlane, sprHandPlane, sprUtility, sprInvulnerable, sprVampiric, sprGirder, 
    63             sprSpeechCorner, sprSpeechEdge, sprSpeechTail, 
    63             sprSpeechCorner, sprSpeechEdge, sprSpeechTail, 
    64             sprThoughtCorner, sprThoughtEdge, sprThoughtTail, 
    64             sprThoughtCorner, sprThoughtEdge, sprThoughtTail, 
    65             sprShoutCorner, sprShoutEdge, sprShoutTail);
    65             sprShoutCorner, sprShoutEdge, sprShoutTail,
       
    66             sprSniperRifle);
    66 
    67 
    67 	TGearType = (gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag, // 3
    68 	TGearType = (gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag, // 3
    68 			gtGrave, gtUFO, gtShotgunShot, gtPickHammer, gtRope, // 8
    69 			gtGrave, gtUFO, gtShotgunShot, gtPickHammer, gtRope, // 8
    69 			gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite, // 14
    70 			gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite, // 14
    70 			gtClusterBomb, gtCluster, gtShover, gtFlame, // 18
    71 			gtClusterBomb, gtCluster, gtShover, gtFlame, // 18
    71 			gtFirePunch, gtATStartGame, gtATSmoothWindCh, gtATFinishGame, // 24
    72 			gtFirePunch, gtATStartGame, gtATSmoothWindCh, gtATFinishGame, // 24
    72 			gtParachute, gtAirAttack, gtAirBomb, gtBlowTorch, gtGirder, // 27
    73 			gtParachute, gtAirAttack, gtAirBomb, gtBlowTorch, gtGirder, // 27
    73 			gtTeleport, gtSwitcher, gtTarget, gtMortar, // 31
    74 			gtTeleport, gtSwitcher, gtTarget, gtMortar, // 31
    74 			gtWhip, gtKamikaze, gtCake, gtSeduction, gtWatermelon, gtMelonPiece, // 37
    75 			gtWhip, gtKamikaze, gtCake, gtSeduction, gtWatermelon, gtMelonPiece, // 37
    75 			gtHellishBomb, gtEvilTrace, gtWaterUp, gtDrill, gtBallGun, gtBall,gtRCPlane, gtSpeechBubble);
    76 			gtHellishBomb, gtEvilTrace, gtWaterUp, gtDrill, gtBallGun, gtBall,gtRCPlane, gtSpeechBubble, gtSniperRifleShot);
    76 
    77 
    77 	TVisualGearType = (vgtFlake, vgtCloud, vgtExplPart, vgtExplPart2, vgtFire,
    78 	TVisualGearType = (vgtFlake, vgtCloud, vgtExplPart, vgtExplPart2, vgtFire,
    78 			vgtSmallDamageTag, vgtTeamHealthSorter);
    79 			vgtSmallDamageTag, vgtTeamHealthSorter);
    79 
    80 
    80 	TGearsType = set of TGearType;
    81 	TGearsType = set of TGearType;
    94 	TAmmoType  = (amGrenade, amClusterBomb, amBazooka, amUFO, amShotgun, amPickHammer,
    95 	TAmmoType  = (amGrenade, amClusterBomb, amBazooka, amUFO, amShotgun, amPickHammer,
    95 			amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch, amWhip,
    96 			amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch, amWhip,
    96 			amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch,
    97 			amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch,
    97 			amGirder, amTeleport, amSwitch, amMortar, amKamikaze, amCake,
    98 			amGirder, amTeleport, amSwitch, amMortar, amKamikaze, amCake,
    98 			amSeduction, amWatermelon, amHellishBomb, amNapalm, amDrill, amBallgun, 
    99 			amSeduction, amWatermelon, amHellishBomb, amNapalm, amDrill, amBallgun, 
    99             amRCPlane, amLowGravity, amExtraDamage, amInvulnerable, amExtraTime, amLaserSight, amVampiric);
   100             amRCPlane, amLowGravity, amExtraDamage, amInvulnerable, amExtraTime,
       
   101             amLaserSight, amVampiric, amSniperRifle);
   100 
   102 
   101 	THWFont = (fnt16, fntBig, fntSmall);
   103 	THWFont = (fnt16, fntBig, fntSmall);
   102 
   104 
   103 	TCapGroup = (capgrpGameState, capgrpAmmoinfo, capgrpNetSay, capgrpVolume);
   105 	TCapGroup = (capgrpGameState, capgrpAmmoinfo, capgrpNetSay, capgrpVolume);
   104 
   106 
   206 	gfLaserSight   = $00000040;
   208 	gfLaserSight   = $00000040;
   207 	gfInvulnerable = $00000080;
   209 	gfInvulnerable = $00000080;
   208 	gfMines        = $00000100;
   210 	gfMines        = $00000100;
   209 	gfVampiric     = $00000200;
   211 	gfVampiric     = $00000200;
   210 	gfKarma        = $00000400;
   212 	gfKarma        = $00000400;
       
   213 	gfArtillery    = $00000800;
   211 	gfOneClanMode  = $10000000;
   214 	gfOneClanMode  = $10000000;
   212 
   215 
   213 	gstDrowning       = $00000001;
   216 	gstDrowning       = $00000001;
   214 	gstHHDriven       = $00000002;
   217 	gstHHDriven       = $00000002;
   215 	gstMoving         = $00000004;
   218 	gstMoving         = $00000004;
   521 			(FileName:'ShoutCorner';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   524 			(FileName:'ShoutCorner';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   522 			Width:  34; Height: 23; saveSurf: true), // sprShoutCorner
   525 			Width:  34; Height: 23; saveSurf: true), // sprShoutCorner
   523 			(FileName:'ShoutEdge';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   526 			(FileName:'ShoutEdge';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   524 			Width:  30; Height: 20; saveSurf: true), // sprShoutEdge
   527 			Width:  30; Height: 20; saveSurf: true), // sprShoutEdge
   525 			(FileName:'ShoutTail';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   528 			(FileName:'ShoutTail';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   526 			Width:  30; Height: 37; saveSurf: true) // sprShoutTail
   529 			Width:  30; Height: 37; saveSurf: true), // sprShoutTail
       
   530 			(FileName:'amSniperRifle';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
       
   531 			Width:  128; Height: 32; saveSurf: false) // sprSniperRifle
   527 			);
   532 			);
   528 
   533 
   529 	Wavez: array [TWave] of record
   534 	Wavez: array [TWave] of record
   530 			Sprite: TSprite;
   535 			Sprite: TSprite;
   531 			FramesCount: Longword;
   536 			FramesCount: Longword;
  1344 			minAngle: 0;
  1349 			minAngle: 0;
  1345 			maxAngle: 0;
  1350 			maxAngle: 0;
  1346 			isDamaging: false;
  1351 			isDamaging: false;
  1347 			SkipTurns: 0;
  1352 			SkipTurns: 0;
  1348 			PosCount: 1;
  1353 			PosCount: 1;
       
  1354 			PosSprite: sprWater),
       
  1355 			(NameId: sidSniperRifle;
       
  1356 			NameTex: nil;
       
  1357 			Probability: 20;
       
  1358 			NumberInCase: 2;
       
  1359 			Ammo: (Propz: 0;
       
  1360 					Count: 2;
       
  1361 					NumPerTurn: 1;
       
  1362 					Timer: 0;
       
  1363 					Pos: 0;
       
  1364 					AmmoType: amSniperRifle);
       
  1365 			Slot: 2;
       
  1366 			TimeAfterTurn: 3000;
       
  1367 			minAngle: 0;
       
  1368 			maxAngle: 0;
       
  1369 			isDamaging: true;
       
  1370 			SkipTurns: 0;
       
  1371 			PosCount: 1;
  1349 			PosSprite: sprWater)
  1372 			PosSprite: sprWater)
  1350 			);
  1373 			);
  1351 
  1374 
  1352 var CountTexz: array[1..9] of PTexture;
  1375 var CountTexz: array[1..9] of PTexture;
  1353 
  1376