hedgewars/uConsts.pas
changeset 2911 cd355befa683
parent 2908 bd1909984a09
child 2916 31f8d418ced3
equal deleted inserted replaced
2910:d5051cc8a313 2911:cd355befa683
    66 			sprHurrah, sprLemonade, sprShrug, sprJuggle, sprExplPart, sprExplPart2,
    66 			sprHurrah, sprLemonade, sprShrug, sprJuggle, sprExplPart, sprExplPart2,
    67 			sprCakeWalk, sprCakeDown, sprAMAmmosBW, sprWatermelon,
    67 			sprCakeWalk, sprCakeDown, sprAMAmmosBW, sprWatermelon,
    68 			sprEvilTrace, sprHellishBomb, sprSeduction, sprDress,
    68 			sprEvilTrace, sprHellishBomb, sprSeduction, sprDress,
    69 			sprCensored, sprDrill, sprHandDrill, sprHandBallgun, sprBalls,
    69 			sprCensored, sprDrill, sprHandDrill, sprHandBallgun, sprBalls,
    70 			sprPlane, sprHandPlane, sprUtility, sprInvulnerable, sprVampiric, sprGirder,
    70 			sprPlane, sprHandPlane, sprUtility, sprInvulnerable, sprVampiric, sprGirder,
    71             sprSpeechCorner, sprSpeechEdge, sprSpeechTail,
    71 			sprSpeechCorner, sprSpeechEdge, sprSpeechTail,
    72             sprThoughtCorner, sprThoughtEdge, sprThoughtTail,
    72 			sprThoughtCorner, sprThoughtEdge, sprThoughtTail,
    73             sprShoutCorner, sprShoutEdge, sprShoutTail,
    73 			sprShoutCorner, sprShoutEdge, sprShoutTail,
    74             sprSniperRifle, sprBubbles, sprJetpack, sprHealth, sprHandMolotov, sprMolotov,
    74 			sprSniperRifle, sprBubbles, sprJetpack, sprHealth, sprHandMolotov, sprMolotov,
    75 						sprSmoke, sprShell, sprDust);
    75 			sprSmoke, sprShell, sprDust, sprExplosives);
    76 
    76 
    77 	TGearType = (gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag, // 3
    77 	TGearType = (gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag, // 3
    78 			gtGrave, gtUFO, gtShotgunShot, gtPickHammer, gtRope, // 8
    78 			gtGrave, gtUFO, gtShotgunShot, gtPickHammer, gtRope, // 8
    79 			gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite, // 14
    79 			gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite, // 14
    80 			gtClusterBomb, gtCluster, gtShover, gtFlame, // 18
    80 			gtClusterBomb, gtCluster, gtShover, gtFlame, // 18
    81 			gtFirePunch, gtATStartGame, gtATSmoothWindCh, gtATFinishGame, // 24
    81 			gtFirePunch, gtATStartGame, gtATSmoothWindCh, gtATFinishGame, // 24
    82 			gtParachute, gtAirAttack, gtAirBomb, gtBlowTorch, gtGirder, // 27
    82 			gtParachute, gtAirAttack, gtAirBomb, gtBlowTorch, gtGirder, // 27
    83 			gtTeleport, gtSwitcher, gtTarget, gtMortar, // 31
    83 			gtTeleport, gtSwitcher, gtTarget, gtMortar, // 31
    84 			gtWhip, gtKamikaze, gtCake, gtSeduction, gtWatermelon, gtMelonPiece, // 37
    84 			gtWhip, gtKamikaze, gtCake, gtSeduction, gtWatermelon, gtMelonPiece, // 37
    85 			gtHellishBomb, gtEvilTrace, gtWaterUp, gtDrill, gtBallGun, gtBall,gtRCPlane,
    85 			gtHellishBomb, gtEvilTrace, gtWaterUp, gtDrill, gtBallGun, gtBall,gtRCPlane,
    86 			gtSniperRifleShot, gtJetpack, gtMolotov);
    86 			gtSniperRifleShot, gtJetpack, gtMolotov, gtExplosives);
    87 
    87 
    88 	TVisualGearType = (vgtFlake, vgtCloud, vgtExplPart, vgtExplPart2, vgtFire,
    88 	TVisualGearType = (vgtFlake, vgtCloud, vgtExplPart, vgtExplPart2, vgtFire,
    89 			vgtSmallDamageTag, vgtTeamHealthSorter, vgtSpeechBubble, vgtBubble,
    89 			vgtSmallDamageTag, vgtTeamHealthSorter, vgtSpeechBubble, vgtBubble,
    90 			vgtSteam, vgtSmoke, vgtHealth, vgtShell, vgtDust);
    90 			vgtSteam, vgtSmoke, vgtHealth, vgtShell, vgtDust);
    91 
    91 
   264 	cSmokeZ = 499;
   264 	cSmokeZ = 499;
   265 	cHHZ = 1000;
   265 	cHHZ = 1000;
   266 	cCurrHHZ = Succ(cHHZ);
   266 	cCurrHHZ = Succ(cHHZ);
   267 	cOnHHZ = 2000;
   267 	cOnHHZ = 2000;
   268 
   268 
       
   269 	cBarrelHealth = 75;
   269 	cShotgunRadius = 22;
   270 	cShotgunRadius = 22;
   270 	cBlowTorchC    = 6;
   271 	cBlowTorchC    = 6;
   271 
   272 
   272 	cKeyMaxIndex = 1023;
   273 	cKeyMaxIndex = 1023;
   273 
   274 
   307 	gfRandomOrder    = $00002000;
   308 	gfRandomOrder    = $00002000;
   308 	gfKing           = $00004000;
   309 	gfKing           = $00004000;
   309 	gfPlaceHog       = $00008000;
   310 	gfPlaceHog       = $00008000;
   310 	gfSharedAmmo     = $00010000;
   311 	gfSharedAmmo     = $00010000;
   311 	gfDisableGirders = $00020000;
   312 	gfDisableGirders = $00020000;
       
   313 	gfExplosives     = $00040000;
   312 	// NOTE: When adding new game flags, ask yourself
   314 	// NOTE: When adding new game flags, ask yourself
   313 	// if a "game start notice" would be useful. If so,
   315 	// if a "game start notice" would be useful. If so,
   314 	// add one in uWorld.pas - look for "AddGoal".
   316 	// add one in uWorld.pas - look for "AddGoal".
   315 
   317 
   316 	gstDrowning       = $00000001;
   318 	gstDrowning       = $00000001;
   669 			(FileName: 'Smoke'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   671 			(FileName: 'Smoke'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   670 			Width:  22; Height: 22; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprSmoke
   672 			Width:  22; Height: 22; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprSmoke
   671 			(FileName: 'Shells'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   673 			(FileName: 'Shells'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   672 			Width:  8; Height: 8; imageWidth: 0; imageHeight: 0; saveSurf: false), // sprShell
   674 			Width:  8; Height: 8; imageWidth: 0; imageHeight: 0; saveSurf: false), // sprShell
   673 			(FileName: 'Dust'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
   675 			(FileName: 'Dust'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
   674 			Width:  22; Height: 22; imageWidth: 0; imageHeight: 0; saveSurf: false)// sprDust
   676 			Width:  22; Height: 22; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprDust
       
   677 			(FileName: 'Explosives'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
       
   678 			Width:  48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false) // sprExplosives
   675 			);
   679 			);
   676 
   680 
   677 	Wavez: array [TWave] of record
   681 	Wavez: array [TWave] of record
   678 			Sprite: TSprite;
   682 			Sprite: TSprite;
   679 			FramesCount: Longword;
   683 			FramesCount: Longword;