hedgewars/uConsts.pas
changeset 3717 d88719b0f0dc
parent 3712 de2026031833
child 3720 b2b108a6fae8
equal deleted inserted replaced
3716:3a2ee9533e3e 3717:d88719b0f0dc
    72             sprHandGrenade, sprHandMelon, sprHandMortar, sprHandSkip, sprHandCluster,
    72             sprHandGrenade, sprHandMelon, sprHandMortar, sprHandSkip, sprHandCluster,
    73             sprHandDynamite, sprHandHellish, sprHandMine, sprHandSeduction, sprHandVamp,
    73             sprHandDynamite, sprHandHellish, sprHandMine, sprHandSeduction, sprHandVamp,
    74             sprBigExplosion, sprSmokeRing, sprBeeTrace, sprEgg, sprTargetBee, sprHandBee,
    74             sprBigExplosion, sprSmokeRing, sprBeeTrace, sprEgg, sprTargetBee, sprHandBee,
    75             sprFeather, sprPiano, sprHandSineGun, sprPortalGun, sprPortal,
    75             sprFeather, sprPiano, sprHandSineGun, sprPortalGun, sprPortal,
    76             sprCheese, sprHandCheese, sprHandFlamethrower, sprChunk, sprNote,
    76             sprCheese, sprHandCheese, sprHandFlamethrower, sprChunk, sprNote,
    77             sprSMineOff, sprSMineOn, sprHandSMine
    77             sprSMineOff, sprSMineOn, sprHandSMine, sprHammer
    78             );
    78             );
    79 
    79 
    80     // Gears that interact with other Gears and/or Land
    80     // Gears that interact with other Gears and/or Land
    81     TGearType = (gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtGrave, gtBee, // 4
    81     TGearType = (gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtGrave, gtBee, // 4
    82             gtShotgunShot, gtPickHammer, gtRope, gtMine, gtCase, // 9
    82             gtShotgunShot, gtPickHammer, gtRope, gtMine, gtCase, // 9
    86             gtGirder, gtTeleport, gtSwitcher, gtTarget, gtMortar, // 28
    86             gtGirder, gtTeleport, gtSwitcher, gtTarget, gtMortar, // 28
    87             gtWhip, gtKamikaze, gtCake, gtSeduction, gtWatermelon, gtMelonPiece, // 34
    87             gtWhip, gtKamikaze, gtCake, gtSeduction, gtWatermelon, gtMelonPiece, // 34
    88             gtHellishBomb, gtWaterUp, gtDrill, gtBallGun, gtBall, gtRCPlane, // 40
    88             gtHellishBomb, gtWaterUp, gtDrill, gtBallGun, gtBall, gtRCPlane, // 40
    89             gtSniperRifleShot, gtJetpack, gtMolotov, gtExplosives, gtBirdy, // 45
    89             gtSniperRifleShot, gtJetpack, gtMolotov, gtExplosives, gtBirdy, // 45
    90             gtEgg, gtPortal, gtPiano, gtGasBomb, gtSineGunShot, gtFlamethrower, // 51
    90             gtEgg, gtPortal, gtPiano, gtGasBomb, gtSineGunShot, gtFlamethrower, // 51
    91             gtSMine, gtPoisonCloud);
    91             gtSMine, gtPoisonCloud, gtHammer);
    92 
    92 
    93     // Gears that are _only_ of visual nature (e.g. background stuff, visual effects, speechbubbles, etc.)
    93     // Gears that are _only_ of visual nature (e.g. background stuff, visual effects, speechbubbles, etc.)
    94     TVisualGearType = (vgtFlake, vgtCloud, vgtExplPart, vgtExplPart2, vgtFire,
    94     TVisualGearType = (vgtFlake, vgtCloud, vgtExplPart, vgtExplPart2, vgtFire,
    95             vgtSmallDamageTag, vgtTeamHealthSorter, vgtSpeechBubble, vgtBubble,
    95             vgtSmallDamageTag, vgtTeamHealthSorter, vgtSpeechBubble, vgtBubble,
    96             vgtSteam, vgtAmmo, vgtSmoke, vgtSmokeWhite, vgtHealth, vgtShell,
    96             vgtSteam, vgtAmmo, vgtSmoke, vgtSmokeWhite, vgtHealth, vgtShell,
   120             sndSwitchHog, sndVictory, sndSniperReload, sndSteps, sndLowGravity,
   120             sndSwitchHog, sndVictory, sndSniperReload, sndSteps, sndLowGravity,
   121             sndHellishImpact1, sndHellishImpact2, sndHellishImpact3, sndHellishImpact4,
   121             sndHellishImpact1, sndHellishImpact2, sndHellishImpact3, sndHellishImpact4,
   122             sndMelonImpact, sndDroplet1, sndDroplet2, sndDroplet3, sndEggBreak, sndDrillRocket,
   122             sndMelonImpact, sndDroplet1, sndDroplet2, sndDroplet3, sndEggBreak, sndDrillRocket,
   123             sndPoisonCough, sndPoisonMoan, sndBirdyLay, sndWhistle, sndBeeWater,
   123             sndPoisonCough, sndPoisonMoan, sndBirdyLay, sndWhistle, sndBeeWater,
   124             sndPiano0, sndPiano1, sndPiano2, sndPiano3, sndPiano4, sndPiano5, sndPiano6, sndPiano7, sndPiano8,
   124             sndPiano0, sndPiano1, sndPiano2, sndPiano3, sndPiano4, sndPiano5, sndPiano6, sndPiano7, sndPiano8,
   125             sndSkip, sndSineGun, sndOoff1, sndOoff2, sndOoff3);
   125             sndSkip, sndSineGun, sndOoff1, sndOoff2, sndOoff3, sndWhack);
   126 
   126 
   127     TAmmoType  = (amNothing, amGrenade, amClusterBomb, amBazooka, amBee, amShotgun, amPickHammer,
   127     TAmmoType  = (amNothing, amGrenade, amClusterBomb, amBazooka, amBee, amShotgun, amPickHammer,
   128             amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch, amWhip,
   128             amSkip, amRope, amMine, amDEagle, amDynamite, amFirePunch, amWhip,
   129             amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch,
   129             amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch,
   130             amGirder, amTeleport, amSwitch, amMortar, amKamikaze, amCake,
   130             amGirder, amTeleport, amSwitch, amMortar, amKamikaze, amCake,
   131             amSeduction, amWatermelon, amHellishBomb, amNapalm, amDrill, amBallgun,
   131             amSeduction, amWatermelon, amHellishBomb, amNapalm, amDrill, amBallgun,
   132             amRCPlane, amLowGravity, amExtraDamage, amInvulnerable, amExtraTime,
   132             amRCPlane, amLowGravity, amExtraDamage, amInvulnerable, amExtraTime,
   133             amLaserSight, amVampiric, amSniperRifle, amJetpack, amMolotov, amBirdy, amPortalGun,
   133             amLaserSight, amVampiric, amSniperRifle, amJetpack, amMolotov, amBirdy, amPortalGun,
   134             amPiano, amGasBomb, amSineGun, amFlamethrower, amSMine);
   134             amPiano, amGasBomb, amSineGun, amFlamethrower, amSMine, amHammer);
   135 
   135 
   136     THWFont = (fnt16, fntBig, fntSmall, CJKfnt16, CJKfntBig, CJKfntSmall);
   136     THWFont = (fnt16, fntBig, fntSmall, CJKfnt16, CJKfntBig, CJKfntSmall);
   137 
   137 
   138     TCapGroup = (capgrpGameState, capgrpAmmoinfo, capgrpVolume,
   138     TCapGroup = (capgrpGameState, capgrpAmmoinfo, capgrpVolume,
   139             capgrpMessage, capgrpAmmostate);
   139             capgrpMessage, capgrpAmmostate);
   799             Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprNote
   799             Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprNote
   800             (FileName:   'SMineOff'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   800             (FileName:   'SMineOff'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   801             Width:   8; Height:  8; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSMineOff
   801             Width:   8; Height:  8; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSMineOff
   802             (FileName:    'SMineOn'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   802             (FileName:    'SMineOn'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   803             Width:   8; Height:  8; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSMineOn
   803             Width:   8; Height:  8; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSMineOn
   804             (FileName:  'amSMine'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   804             (FileName:   'amSMine'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   805             Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true) // sprHandSMine
   805             Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandSMine
       
   806             (FileName:  'amHammer'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
       
   807             Width: 128; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true) // sprWhip
   806             );
   808             );
   807 
   809 
   808     Wavez: array [TWave] of record
   810     Wavez: array [TWave] of record
   809             Sprite: TSprite;
   811             Sprite: TSprite;
   810             FramesCount: Longword;
   812             FramesCount: Longword;
   927             (FileName:                   '9D.ogg'; Path: ptSounds),// sndPiano8
   929             (FileName:                   '9D.ogg'; Path: ptSounds),// sndPiano8
   928             (FileName:                 'skip.ogg'; Path: ptSounds),// sndSkip
   930             (FileName:                 'skip.ogg'; Path: ptSounds),// sndSkip
   929             (FileName:          'shotgunfire.ogg'; Path: ptSounds),// sndSineGun
   931             (FileName:          'shotgunfire.ogg'; Path: ptSounds),// sndSineGun
   930             (FileName:                'Ooff1.ogg'; Path: ptVoices),// sndOoff1
   932             (FileName:                'Ooff1.ogg'; Path: ptVoices),// sndOoff1
   931             (FileName:                'Ooff2.ogg'; Path: ptVoices),// sndOoff2
   933             (FileName:                'Ooff2.ogg'; Path: ptVoices),// sndOoff2
   932             (FileName:                'Ooff3.ogg'; Path: ptVoices) // sndOoff3
   934             (FileName:                'Ooff3.ogg'; Path: ptVoices),// sndOoff3
       
   935             (FileName:            'whipcrack.ogg'; Path: ptSounds) // sndWhack
   933             );
   936             );
   934 
   937 
   935     Ammoz: array [TAmmoType] of record
   938     Ammoz: array [TAmmoType] of record
   936             NameId: TAmmoStrId;
   939             NameId: TAmmoStrId;
   937             NameTex: PTexture;
   940             NameTex: PTexture;
  2153             PosCount: 1;
  2156             PosCount: 1;
  2154             PosSprite: sprWater;
  2157             PosSprite: sprWater;
  2155             ejectX: 0; //20;
  2158             ejectX: 0; //20;
  2156             ejectY: -3),
  2159             ejectY: -3),
  2157 
  2160 
  2158 // Mine
  2161 // Sticky Mine
  2159             (NameId: sidSMine;
  2162             (NameId: sidSMine;
  2160             NameTex: nil;
  2163             NameTex: nil;
  2161             Probability: 100;
  2164             Probability: 100;
  2162             NumberInCase: 1;
  2165             NumberInCase: 1;
  2163             Ammo: (Propz: ammoprop_Power or ammoprop_AltUse;
  2166             Ammo: (Propz: ammoprop_Power or ammoprop_AltUse;
  2169                 AmmoType: amSMine;
  2172                 AmmoType: amSMine;
  2170                 AttackVoice: sndLaugh);
  2173                 AttackVoice: sndLaugh);
  2171             Slot: 4;
  2174             Slot: 4;
  2172             TimeAfterTurn: 5000;
  2175             TimeAfterTurn: 5000;
  2173             minAngle: 0;
  2176             minAngle: 0;
       
  2177             maxAngle: 0;
       
  2178             isDamaging: true;
       
  2179             SkipTurns: 0;
       
  2180             PosCount: 1;
       
  2181             PosSprite: sprWater;
       
  2182             ejectX: 0;
       
  2183             ejectY: 0),
       
  2184 
       
  2185 // Hammer
       
  2186             (NameId: sidHammer;
       
  2187             NameTex: nil;
       
  2188             Probability: 0;
       
  2189             NumberInCase: 1;
       
  2190             Ammo: (Propz: ammoprop_NoCrosshair;
       
  2191                 Count: 1;
       
  2192                 InitialCount: 1;
       
  2193                 NumPerTurn: 0;
       
  2194                 Timer: 0;
       
  2195                 Pos: 0;
       
  2196                 AmmoType: amHammer;
       
  2197                 AttackVoice: sndNone);
       
  2198             Slot: 3;
       
  2199             TimeAfterTurn: 3000;
       
  2200             MinAngle: 0;
  2174             maxAngle: 0;
  2201             maxAngle: 0;
  2175             isDamaging: true;
  2202             isDamaging: true;
  2176             SkipTurns: 0;
  2203             SkipTurns: 0;
  2177             PosCount: 1;
  2204             PosCount: 1;
  2178             PosSprite: sprWater;
  2205             PosSprite: sprWater;