hedgewars/uConsts.pas
changeset 2457 ecf0c7e7995b
parent 2428 6800f8aa0184
child 2468 0b62498c201a
equal deleted inserted replaced
2456:7067544bb15d 2457:ecf0c7e7995b
    62 			sprCensored, sprDrill, sprHandDrill, sprHandBallgun, sprBalls,
    62 			sprCensored, sprDrill, sprHandDrill, sprHandBallgun, sprBalls,
    63 			sprPlane, sprHandPlane, sprUtility, sprInvulnerable, sprVampiric, sprGirder,
    63 			sprPlane, sprHandPlane, sprUtility, sprInvulnerable, sprVampiric, sprGirder,
    64             sprSpeechCorner, sprSpeechEdge, sprSpeechTail,
    64             sprSpeechCorner, sprSpeechEdge, sprSpeechTail,
    65             sprThoughtCorner, sprThoughtEdge, sprThoughtTail,
    65             sprThoughtCorner, sprThoughtEdge, sprThoughtTail,
    66             sprShoutCorner, sprShoutEdge, sprShoutTail,
    66             sprShoutCorner, sprShoutEdge, sprShoutTail,
    67             sprSniperRifle, sprBubbles, sprJetpack, sprHealth);
    67             sprSniperRifle, sprBubbles, sprJetpack, sprHealth, sprHandMolotov, sprMolotov);
    68 
    68 
    69 	TGearType = (gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag, // 3
    69 	TGearType = (gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag, // 3
    70 			gtGrave, gtUFO, gtShotgunShot, gtPickHammer, gtRope, // 8
    70 			gtGrave, gtUFO, gtShotgunShot, gtPickHammer, gtRope, // 8
    71 			gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite, // 14
    71 			gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite, // 14
    72 			gtClusterBomb, gtCluster, gtShover, gtFlame, // 18
    72 			gtClusterBomb, gtCluster, gtShover, gtFlame, // 18
    73 			gtFirePunch, gtATStartGame, gtATSmoothWindCh, gtATFinishGame, // 24
    73 			gtFirePunch, gtATStartGame, gtATSmoothWindCh, gtATFinishGame, // 24
    74 			gtParachute, gtAirAttack, gtAirBomb, gtBlowTorch, gtGirder, // 27
    74 			gtParachute, gtAirAttack, gtAirBomb, gtBlowTorch, gtGirder, // 27
    75 			gtTeleport, gtSwitcher, gtTarget, gtMortar, // 31
    75 			gtTeleport, gtSwitcher, gtTarget, gtMortar, // 31
    76 			gtWhip, gtKamikaze, gtCake, gtSeduction, gtWatermelon, gtMelonPiece, // 37
    76 			gtWhip, gtKamikaze, gtCake, gtSeduction, gtWatermelon, gtMelonPiece, // 37
    77 			gtHellishBomb, gtEvilTrace, gtWaterUp, gtDrill, gtBallGun, gtBall,gtRCPlane,
    77 			gtHellishBomb, gtEvilTrace, gtWaterUp, gtDrill, gtBallGun, gtBall,gtRCPlane,
    78 			gtSniperRifleShot, gtJetpack);
    78 			gtSniperRifleShot, gtJetpack, gtMolotov);
    79 
    79 
    80 	TVisualGearType = (vgtFlake, vgtCloud, vgtExplPart, vgtExplPart2, vgtFire,
    80 	TVisualGearType = (vgtFlake, vgtCloud, vgtExplPart, vgtExplPart2, vgtFire,
    81 			vgtSmallDamageTag, vgtTeamHealthSorter, vgtSpeechBubble, vgtBubble,
    81 			vgtSmallDamageTag, vgtTeamHealthSorter, vgtSpeechBubble, vgtBubble,
    82 			vgtSteam, vgtHealth);
    82 			vgtSteam, vgtHealth);
    83 
    83 
   101 			amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch, amWhip,
   101 			amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch, amWhip,
   102 			amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch,
   102 			amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch,
   103 			amGirder, amTeleport, amSwitch, amMortar, amKamikaze, amCake,
   103 			amGirder, amTeleport, amSwitch, amMortar, amKamikaze, amCake,
   104 			amSeduction, amWatermelon, amHellishBomb, amNapalm, amDrill, amBallgun,
   104 			amSeduction, amWatermelon, amHellishBomb, amNapalm, amDrill, amBallgun,
   105 			amRCPlane, amLowGravity, amExtraDamage, amInvulnerable, amExtraTime,
   105 			amRCPlane, amLowGravity, amExtraDamage, amInvulnerable, amExtraTime,
   106 			amLaserSight, amVampiric, amSniperRifle, amJetpack);
   106 			amLaserSight, amVampiric, amSniperRifle, amJetpack, amMolotov);
   107 
   107 
   108 	THWFont = (fnt16, fntBig, fntSmall);
   108 	THWFont = (fnt16, fntBig, fntSmall);
   109 
   109 
   110 	TCapGroup = (capgrpGameState, capgrpAmmoinfo, capgrpVolume,
   110 	TCapGroup = (capgrpGameState, capgrpAmmoinfo, capgrpVolume,
   111 			capgrpMessage, capgrpAmmostate);
   111 			capgrpMessage, capgrpAmmostate);
   612 			(FileName:    'Bubbles'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   612 			(FileName:    'Bubbles'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   613 			Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false), // sprBubbles
   613 			Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false), // sprBubbles
   614 			(FileName:  'amJetpack'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   614 			(FileName:  'amJetpack'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   615 			Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false), // sprJetpack
   615 			Width: 64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false), // sprJetpack
   616 			(FileName:  'Health'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   616 			(FileName:  'Health'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   617 			Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false) // sprHealth
   617 			Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false), // sprHealth
       
   618 
       
   619 			(FileName:  'amMolotov'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil; 
       
   620 			Width: 32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false), //sprHandMolotov
       
   621 			(FileName:  'Molotov'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
       
   622 			Width: 8; Height: 8; imageWidth: 0; imageHeight: 0; saveSurf: false) // sprMolotov
   618 			);
   623 			);
   619 
   624 
   620 	Wavez: array [TWave] of record
   625 	Wavez: array [TWave] of record
   621 			Sprite: TSprite;
   626 			Sprite: TSprite;
   622 			FramesCount: Longword;
   627 			FramesCount: Longword;
  1506 			minAngle: 0;
  1511 			minAngle: 0;
  1507 			maxAngle: 0;
  1512 			maxAngle: 0;
  1508 			isDamaging: false;
  1513 			isDamaging: false;
  1509 			SkipTurns: 0;
  1514 			SkipTurns: 0;
  1510 			PosCount: 1;
  1515 			PosCount: 1;
       
  1516 			PosSprite: sprWater),
       
  1517 
       
  1518 			(NameId: sidMolotov;
       
  1519 			NameTex: nil;
       
  1520 			Probability: 0;
       
  1521 			NumberInCase: 1;
       
  1522 			Ammo: (Propz: ammoprop_Power or
       
  1523 							ammoprop_AltUse;
       
  1524 					Count: AMMO_INFINITE;
       
  1525 					NumPerTurn: 0;
       
  1526 					Timer: 3000;
       
  1527 					Pos: 0;
       
  1528 					AmmoType: amMolotov);
       
  1529 			Slot: 1;
       
  1530 			TimeAfterTurn: 3000;
       
  1531 			minAngle: 0;
       
  1532 			maxAngle: 0;
       
  1533 			isDamaging: true;
       
  1534 			SkipTurns: 0;
       
  1535 			PosCount: 1;
  1511 			PosSprite: sprWater)
  1536 			PosSprite: sprWater)
  1512 			);
  1537 			);
  1513 
  1538 
  1514 var CountTexz: array[1..9] of PTexture;
  1539 var CountTexz: array[1..9] of PTexture;
  1515 
  1540