hedgewars/uConsts.pas
changeset 3080 b7fa8ad60e3b
parent 3076 7e246257adaa
child 3085 c6c57c499034
equal deleted inserted replaced
3079:8deb4e8f5172 3080:b7fa8ad60e3b
    46     TPathType = (ptNone, ptData, ptGraphics, ptThemes, ptCurrTheme, ptTeams, ptMaps,
    46     TPathType = (ptNone, ptData, ptGraphics, ptThemes, ptCurrTheme, ptTeams, ptMaps,
    47             ptMapCurrent, ptDemos, ptSounds, ptGraves, ptFonts, ptForts,
    47             ptMapCurrent, ptDemos, ptSounds, ptGraves, ptFonts, ptForts,
    48             ptLocale, ptAmmoMenu, ptHedgehog, ptVoices, ptHats, ptFlags);
    48             ptLocale, ptAmmoMenu, ptHedgehog, ptVoices, ptHats, ptFlags);
    49 
    49 
    50     TSprite = (sprWater, sprCloud, sprBomb, sprBigDigit, sprFrame,
    50     TSprite = (sprWater, sprCloud, sprBomb, sprBigDigit, sprFrame,
    51             sprLag, sprArrow, sprGrenade, sprTargetP, sprUFO,
    51             sprLag, sprArrow, sprGrenade, sprTargetP, sprBee,
    52             sprSmokeTrace, sprRopeHook, sprExplosion50, sprMineOff,
    52             sprSmokeTrace, sprRopeHook, sprExplosion50, sprMineOff,
    53             sprMineOn, sprMineDead, sprCase, sprFAid, sprDynamite, sprPower,
    53             sprMineOn, sprMineDead, sprCase, sprFAid, sprDynamite, sprPower,
    54             sprClusterBomb, sprClusterParticle, sprFlame, sprHorizont,
    54             sprClusterBomb, sprClusterParticle, sprFlame, sprHorizont,
    55             sprHorizontL, sprHorizontR, sprSky, sprSkyL,
    55             sprHorizontL, sprHorizontR, sprSky, sprSkyL,
    56             sprSkyR, sprAMBorders, sprAMSlot, sprAMSlotName, sprAMAmmos,
    56             sprSkyR, sprAMBorders, sprAMSlot, sprAMSlotName, sprAMAmmos,
    74             sprSniperRifle, sprBubbles, sprJetpack, sprHealth, sprHandMolotov, sprMolotov,
    74             sprSniperRifle, sprBubbles, sprJetpack, sprHealth, sprHandMolotov, sprMolotov,
    75             sprSmoke, sprSmokeWhite, sprShell, sprDust, sprExplosives, sprExplosivesRoll,
    75             sprSmoke, sprSmokeWhite, sprShell, sprDust, sprExplosives, sprExplosivesRoll,
    76             sprAmTeleport, sprSplash, sprDroplet, sprBirdy, sprHandCake, sprHandConstruction,
    76             sprAmTeleport, sprSplash, sprDroplet, sprBirdy, sprHandCake, sprHandConstruction,
    77             sprHandGrenade, sprHandMelon, sprHandMortar, sprHandSkip, sprHandCluster,
    77             sprHandGrenade, sprHandMelon, sprHandMortar, sprHandSkip, sprHandCluster,
    78             sprHandDynamite, sprHandHellish, sprHandMine, sprHandSeduction, sprHandVamp,
    78             sprHandDynamite, sprHandHellish, sprHandMine, sprHandSeduction, sprHandVamp,
    79             sprBigExplosion, sprSmokeRing);
    79             sprBigExplosion, sprSmokeRing, sprBeeTrace);
    80 
    80 
    81     TGearType = (gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag, // 3
    81     TGearType = (gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtHealthTag, // 3
    82             gtGrave, gtUFO, gtShotgunShot, gtPickHammer, gtRope, // 8
    82             gtGrave, gtBee, gtShotgunShot, gtPickHammer, gtRope, // 8
    83             gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite, // 14
    83             gtSmokeTrace, gtExplosion, gtMine, gtCase, gtDEagleShot, gtDynamite, // 14
    84             gtClusterBomb, gtCluster, gtShover, gtFlame, // 18
    84             gtClusterBomb, gtCluster, gtShover, gtFlame, // 18
    85             gtFirePunch, gtATStartGame, gtATSmoothWindCh, gtATFinishGame, // 24
    85             gtFirePunch, gtATStartGame, gtATSmoothWindCh, gtATFinishGame, // 24
    86             gtParachute, gtAirAttack, gtAirBomb, gtBlowTorch, gtGirder, // 27
    86             gtParachute, gtAirAttack, gtAirBomb, gtBlowTorch, gtGirder, // 27
    87             gtTeleport, gtSwitcher, gtTarget, gtMortar, // 31
    87             gtTeleport, gtSwitcher, gtTarget, gtMortar, // 31
    91             gtBigExplosion, gtEgg);
    91             gtBigExplosion, gtEgg);
    92 
    92 
    93     TVisualGearType = (vgtFlake, vgtCloud, vgtExplPart, vgtExplPart2, vgtFire,
    93     TVisualGearType = (vgtFlake, vgtCloud, vgtExplPart, vgtExplPart2, vgtFire,
    94             vgtSmallDamageTag, vgtTeamHealthSorter, vgtSpeechBubble, vgtBubble,
    94             vgtSmallDamageTag, vgtTeamHealthSorter, vgtSpeechBubble, vgtBubble,
    95             vgtSteam, vgtAmmo, vgtSmoke, vgtSmokeWhite, vgtHealth, vgtShell,
    95             vgtSteam, vgtAmmo, vgtSmoke, vgtSmokeWhite, vgtHealth, vgtShell,
    96             vgtDust, vgtSplash, vgtDroplet, vgtSmokeRing);
    96             vgtDust, vgtSplash, vgtDroplet, vgtSmokeRing, vgtBeeTrace);
    97 
    97 
    98     TGearsType = set of TGearType;
    98     TGearsType = set of TGearType;
    99 
    99 
   100     TSound = (sndNone,
   100     TSound = (sndNone,
   101             sndGrenadeImpact, sndExplosion, sndThrowPowerUp, sndThrowRelease,
   101             sndGrenadeImpact, sndExplosion, sndThrowPowerUp, sndThrowRelease,
   102             sndSplash, sndShotgunReload, sndShotgunFire, sndGraveImpact,
   102             sndSplash, sndShotgunReload, sndShotgunFire, sndGraveImpact,
   103             sndMineTick, sndPickhammer, sndGun, sndUFO, sndJump1, sndJump2,
   103             sndMineTick, sndPickhammer, sndGun, sndBee, sndJump1, sndJump2,
   104             sndJump3, sndYesSir, sndLaugh, sndIllGetYou, sndIncoming,
   104             sndJump3, sndYesSir, sndLaugh, sndIllGetYou, sndIncoming,
   105             sndMissed, sndStupid, sndFirstBlood, sndBoring, sndByeBye,
   105             sndMissed, sndStupid, sndFirstBlood, sndBoring, sndByeBye,
   106             sndSameTeam, sndNutter, sndReinforce, sndTraitor, sndRegret,
   106             sndSameTeam, sndNutter, sndReinforce, sndTraitor, sndRegret,
   107             sndEnemyDown, sndCoward, sndHurry, sndWatchIt, sndKamikaze,
   107             sndEnemyDown, sndCoward, sndHurry, sndWatchIt, sndKamikaze,
   108             sndCake, sndOw1, sndOw4, sndFirePunch1, sndFirePunch2,
   108             sndCake, sndOw1, sndOw4, sndFirePunch1, sndFirePunch2,
   113             sndHomerun, sndMolotov, sndCover, sndUhOh, sndOops,
   113             sndHomerun, sndMolotov, sndCover, sndUhOh, sndOops,
   114             sndNooo, sndHello, sndRopeShot, sndRopeAttach, sndRopeRelease,
   114             sndNooo, sndHello, sndRopeShot, sndRopeAttach, sndRopeRelease,
   115             sndSwitchHog, sndVictory, sndSniperReload, sndSteps, sndLowGravity,
   115             sndSwitchHog, sndVictory, sndSniperReload, sndSteps, sndLowGravity,
   116             sndDroplet1, sndDroplet2, sndDroplet3);
   116             sndDroplet1, sndDroplet2, sndDroplet3);
   117 
   117 
   118     TAmmoType  = (amNothing, amGrenade, amClusterBomb, amBazooka, amUFO, amShotgun, amPickHammer,
   118     TAmmoType  = (amNothing, amGrenade, amClusterBomb, amBazooka, amBee, amShotgun, amPickHammer,
   119             amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch, amWhip,
   119             amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch, amWhip,
   120             amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch,
   120             amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch,
   121             amGirder, amTeleport, amSwitch, amMortar, amKamikaze, amCake,
   121             amGirder, amTeleport, amSwitch, amMortar, amKamikaze, amCake,
   122             amSeduction, amWatermelon, amHellishBomb, amNapalm, amDrill, amBallgun,
   122             amSeduction, amWatermelon, amHellishBomb, amNapalm, amDrill, amBallgun,
   123             amRCPlane, amLowGravity, amExtraDamage, amInvulnerable, amExtraTime,
   123             amRCPlane, amLowGravity, amExtraDamage, amInvulnerable, amExtraTime,
   463             Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprCursor
   463             Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprCursor
   464             (FileName:    'Grenade'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   464             (FileName:    'Grenade'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   465             Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprGrenade
   465             Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprGrenade
   466             (FileName:    'Targetp'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   466             (FileName:    'Targetp'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   467             Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprTargetP
   467             Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprTargetP
   468             (FileName:        'UFO'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   468             (FileName:        'Bee'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   469             Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprUFO
   469             Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprBee
   470             (FileName: 'SmokeTrace'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   470             (FileName: 'SmokeTrace'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   471             Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprSmokeTrace
   471             Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprSmokeTrace
   472             (FileName:   'RopeHook'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   472             (FileName:   'RopeHook'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   473             Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprRopeHook
   473             Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprRopeHook
   474             (FileName:     'Expl50'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   474             (FileName:     'Expl50'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   716             (FileName:  'amVamp'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   716             (FileName:  'amVamp'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   717             Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprHandVamp
   717             Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprHandVamp
   718             (FileName:  'BigExplosion'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   718             (FileName:  'BigExplosion'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   719             Width:  385; Height: 385; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprBigExplosion
   719             Width:  385; Height: 385; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprBigExplosion
   720             (FileName:  'SmokeRing'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   720             (FileName:  'SmokeRing'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   721             Width:  200; Height: 200; imageWidth: 0; imageHeight: 0; saveSurf: false)// sprSmokeRing
   721             Width:  200; Height: 200; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprSmokeRing
       
   722             (FileName:  'BeeTrace'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
       
   723             Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false) // sprBeeTrace
   722             );
   724             );
   723 
   725 
   724     Wavez: array [TWave] of record
   726     Wavez: array [TWave] of record
   725             Sprite: TSprite;
   727             Sprite: TSprite;
   726             FramesCount: Longword;
   728             FramesCount: Longword;
   752             (FileName:          'shotgunfire.ogg'; Path: ptSounds),// sndShotgunFire
   754             (FileName:          'shotgunfire.ogg'; Path: ptSounds),// sndShotgunFire
   753             (FileName:          'graveimpact.ogg'; Path: ptSounds),// sndGraveImpact
   755             (FileName:          'graveimpact.ogg'; Path: ptSounds),// sndGraveImpact
   754             (FileName:             'minetick.ogg'; Path: ptSounds),// sndMineTicks
   756             (FileName:             'minetick.ogg'; Path: ptSounds),// sndMineTicks
   755             (FileName:           'pickhammer.ogg'; Path: ptSounds),// sndPickhammer
   757             (FileName:           'pickhammer.ogg'; Path: ptSounds),// sndPickhammer
   756             (FileName:                  'gun.ogg'; Path: ptSounds),// sndGun
   758             (FileName:                  'gun.ogg'; Path: ptSounds),// sndGun
   757             (FileName:                  'ufo.ogg'; Path: ptSounds),// sndUFO
   759             (FileName:                  'bee.ogg'; Path: ptSounds),// sndBee
   758             (FileName:                'Jump1.ogg'; Path: ptVoices),// sndJump1
   760             (FileName:                'Jump1.ogg'; Path: ptVoices),// sndJump1
   759             (FileName:                'Jump2.ogg'; Path: ptVoices),// sndJump2
   761             (FileName:                'Jump2.ogg'; Path: ptVoices),// sndJump2
   760             (FileName:                'Jump3.ogg'; Path: ptVoices),// sndJump3
   762             (FileName:                'Jump3.ogg'; Path: ptVoices),// sndJump3
   761             (FileName:               'Yessir.ogg'; Path: ptVoices),// sndYesSir
   763             (FileName:               'Yessir.ogg'; Path: ptVoices),// sndYesSir
   762             (FileName:                'Laugh.ogg'; Path: ptVoices),// sndLaugh
   764             (FileName:                'Laugh.ogg'; Path: ptVoices),// sndLaugh
   911             maxAngle: 0;
   913             maxAngle: 0;
   912             isDamaging: true;
   914             isDamaging: true;
   913             SkipTurns: 0;
   915             SkipTurns: 0;
   914             PosCount: 1;
   916             PosCount: 1;
   915             PosSprite: sprWater),
   917             PosSprite: sprWater),
   916             (NameId: sidUFO;
   918             (NameId: sidBee;
   917             NameTex: nil;
   919             NameTex: nil;
   918             Probability: 100;
   920             Probability: 100;
   919             NumberInCase: 1;
   921             NumberInCase: 1;
   920             Ammo: (Propz: ammoprop_Power or ammoprop_NeedTarget or ammoprop_DontHold;
   922             Ammo: (Propz: ammoprop_Power or ammoprop_NeedTarget or ammoprop_DontHold;
   921                 Count: 2;
   923                 Count: 2;
   922                 InitialCount: 2;
   924                 InitialCount: 2;
   923                 NumPerTurn: 0;
   925                 NumPerTurn: 0;
   924                 Timer: 0;
   926                 Timer: 0;
   925                 Pos: 0;
   927                 Pos: 0;
   926                 AmmoType: amUFO;
   928                 AmmoType: amBee;
   927                 AttackVoice: sndNone);
   929                 AttackVoice: sndNone);
   928             Slot: 0;
   930             Slot: 0;
   929             TimeAfterTurn: 3000;
   931             TimeAfterTurn: 3000;
   930             minAngle: 0;
   932             minAngle: 0;
   931             maxAngle: 0;
   933             maxAngle: 0;