hedgewars/uConsts.pas
changeset 2428 6800f8aa0184
parent 2426 9d674c5c828d
child 2457 ecf0c7e7995b
equal deleted inserted replaced
2427:241e3bb6a146 2428:6800f8aa0184
    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);
    67             sprSniperRifle, sprBubbles, sprJetpack, sprHealth);
    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
    77 			gtHellishBomb, gtEvilTrace, gtWaterUp, gtDrill, gtBallGun, gtBall,gtRCPlane,
    77 			gtHellishBomb, gtEvilTrace, gtWaterUp, gtDrill, gtBallGun, gtBall,gtRCPlane,
    78 			gtSniperRifleShot, gtJetpack);
    78 			gtSniperRifleShot, gtJetpack);
    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);
    82 			vgtSteam, vgtHealth);
    83 
    83 
    84 	TGearsType = set of TGearType;
    84 	TGearsType = set of TGearType;
    85 
    85 
    86 	TSound = (sndGrenadeImpact, sndExplosion, sndThrowPowerUp, sndThrowRelease,
    86 	TSound = (sndGrenadeImpact, sndExplosion, sndThrowPowerUp, sndThrowRelease,
    87 			sndSplash, sndShotgunReload, sndShotgunFire, sndGraveImpact,
    87 			sndSplash, sndShotgunReload, sndShotgunFire, sndGraveImpact,
    92 			sndEnemyDown, sndCoward, sndHurry, sndWatchIt, sndKamikaze,
    92 			sndEnemyDown, sndCoward, sndHurry, sndWatchIt, sndKamikaze,
    93 			sndCake, sndOw1, sndOw4, sndFirePunch1, sndFirePunch2,
    93 			sndCake, sndOw1, sndOw4, sndFirePunch1, sndFirePunch2,
    94 			sndFirePunch3, sndFirePunch4, sndFirePunch5, sndFirePunch6,
    94 			sndFirePunch3, sndFirePunch4, sndFirePunch5, sndFirePunch6,
    95 			sndMelon, sndHellish, sndYoohoo, sndRCPlane, sndWhipCrack,
    95 			sndMelon, sndHellish, sndYoohoo, sndRCPlane, sndWhipCrack,
    96 			sndRideOfTheValkyries, sndDenied, sndPlaced, sndBaseballBat,
    96 			sndRideOfTheValkyries, sndDenied, sndPlaced, sndBaseballBat,
    97 			sndVaporize, sndWarp, sndSuddenDeath, sndMortar, sndShutter);
    97 			sndVaporize, sndWarp, sndSuddenDeath, sndMortar, sndShutter,
       
    98 			sndHomerun);
    98 
    99 
    99 	TAmmoType  = (amNothing, amGrenade, amClusterBomb, amBazooka, amUFO, amShotgun, amPickHammer,
   100 	TAmmoType  = (amNothing, amGrenade, amClusterBomb, amBazooka, amUFO, amShotgun, amPickHammer,
   100 			amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch, amWhip,
   101 			amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch, amWhip,
   101 			amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch,
   102 			amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch,
   102 			amGirder, amTeleport, amSwitch, amMortar, amKamikaze, amCake,
   103 			amGirder, amTeleport, amSwitch, amMortar, amKamikaze, amCake,
   242 
   243 
   243 	cMaxCaptions = 4;
   244 	cMaxCaptions = 4;
   244 
   245 
   245 	cSendEmptyPacketTime = 1000;
   246 	cSendEmptyPacketTime = 1000;
   246 
   247 
       
   248 	// Training Flags
       
   249 	tfNone         = $00000000;
       
   250 	tfTimeTrial    = $00000001;
       
   251 	tfRCPlane      = $00000002;
       
   252 	tfSpawnTargets = $00000004;
       
   253 	tfIgnoreDelays = $00000008;
       
   254 	
   247 	gfForts        = $00000001;
   255 	gfForts        = $00000001;
   248 	gfMultiWeapon  = $00000002;
   256 	gfMultiWeapon  = $00000002;
   249 	gfSolidLand    = $00000004;
   257 	gfSolidLand    = $00000004;
   250 	gfBorder       = $00000008;
   258 	gfBorder       = $00000008;
   251 	gfDivideTeams  = $00000010;
   259 	gfDivideTeams  = $00000010;
   602 			(FileName:'amSniperRifle';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   610 			(FileName:'amSniperRifle';Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   603 			Width: 128; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false), // sprSniperRifle
   611 			Width: 128; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false), // sprSniperRifle
   604 			(FileName:    'Bubbles'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   612 			(FileName:    'Bubbles'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   605 			Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false), // sprBubbles
   613 			Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false), // sprBubbles
   606 			(FileName:  'amJetpack'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   614 			(FileName:  'amJetpack'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   607 			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;
       
   617 			Width: 16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false) // sprHealth
   608 			);
   618 			);
   609 
   619 
   610 	Wavez: array [TWave] of record
   620 	Wavez: array [TWave] of record
   611 			Sprite: TSprite;
   621 			Sprite: TSprite;
   612 			FramesCount: Longword;
   622 			FramesCount: Longword;
   680 			(FileName:          'baseballbat.ogg'; Path: ptSounds),// sndBaseballBat
   690 			(FileName:          'baseballbat.ogg'; Path: ptSounds),// sndBaseballBat
   681 			(FileName:                'steam.ogg'; Path: ptSounds),// sndVaporize
   691 			(FileName:                'steam.ogg'; Path: ptSounds),// sndVaporize
   682 			(FileName:                 'warp.ogg'; Path: ptSounds),// sndWarp
   692 			(FileName:                 'warp.ogg'; Path: ptSounds),// sndWarp
   683 			(FileName:          'suddendeath.ogg'; Path: ptSounds),// sndSuddenDeath
   693 			(FileName:          'suddendeath.ogg'; Path: ptSounds),// sndSuddenDeath
   684 			(FileName:               'mortar.ogg'; Path: ptSounds),// sndMortar
   694 			(FileName:               'mortar.ogg'; Path: ptSounds),// sndMortar
   685 			(FileName:         'shutterclick.ogg'; Path: ptSounds) // sndShutter
   695 			(FileName:         'shutterclick.ogg'; Path: ptSounds),// sndShutter			
       
   696 			(FileName:              'homerun.ogg'; Path: ptSounds) // sndHomerun
   686 			);
   697 			);
   687 
   698 
   688 	Ammoz: array [TAmmoType] of record
   699 	Ammoz: array [TAmmoType] of record
   689 			NameId: TAmmoStrId;
   700 			NameId: TAmmoStrId;
   690 			NameTex: PTexture;
   701 			NameTex: PTexture;