hedgewars/uConsts.pas
changeset 3476 1ec68b8d3bd1
parent 3475 95345f98da19
child 3481 c385a7dad025
equal deleted inserted replaced
3475:95345f98da19 3476:1ec68b8d3bd1
    71             sprAmTeleport, sprSplash, sprDroplet, sprBirdy, sprHandCake, sprHandConstruction,
    71             sprAmTeleport, sprSplash, sprDroplet, sprBirdy, sprHandCake, sprHandConstruction,
    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
    76             sprCheese, sprHandCheese, sprHandFlamethrower
    77             );
    77             );
    78     
    78     
    79     // Gears that interact with other Gears and/or Land
    79     // Gears that interact with other Gears and/or Land
    80     TGearType = (gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtGrave, gtBee, // 4
    80     TGearType = (gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtGrave, gtBee, // 4
    81             gtShotgunShot, gtPickHammer, gtRope, gtMine, gtCase, // 9
    81             gtShotgunShot, gtPickHammer, gtRope, gtMine, gtCase, // 9
    84             gtATFinishGame, gtParachute, gtAirAttack, gtAirBomb, gtBlowTorch, // 23
    84             gtATFinishGame, gtParachute, gtAirAttack, gtAirBomb, gtBlowTorch, // 23
    85             gtGirder, gtTeleport, gtSwitcher, gtTarget, gtMortar, // 28
    85             gtGirder, gtTeleport, gtSwitcher, gtTarget, gtMortar, // 28
    86             gtWhip, gtKamikaze, gtCake, gtSeduction, gtWatermelon, gtMelonPiece, // 34
    86             gtWhip, gtKamikaze, gtCake, gtSeduction, gtWatermelon, gtMelonPiece, // 34
    87             gtHellishBomb, gtWaterUp, gtDrill, gtBallGun, gtBall, gtRCPlane, // 40
    87             gtHellishBomb, gtWaterUp, gtDrill, gtBallGun, gtBall, gtRCPlane, // 40
    88             gtSniperRifleShot, gtJetpack, gtMolotov, gtExplosives, gtBirdy, // 45
    88             gtSniperRifleShot, gtJetpack, gtMolotov, gtExplosives, gtBirdy, // 45
    89             gtEgg, gtPortal, gtPiano, gtGasBomb, gtSineGunShot); // 50
    89             gtEgg, gtPortal, gtPiano, gtGasBomb, gtSineGunShot, gtFlamethrower); // 51
    90 
    90 
    91     // Gears that are _only_ of visual nature (e.g. background stuff, visual effects, speechbubbles, etc.)
    91     // Gears that are _only_ of visual nature (e.g. background stuff, visual effects, speechbubbles, etc.)
    92     TVisualGearType = (vgtFlake, vgtCloud, vgtExplPart, vgtExplPart2, vgtFire,
    92     TVisualGearType = (vgtFlake, vgtCloud, vgtExplPart, vgtExplPart2, vgtFire,
    93             vgtSmallDamageTag, vgtTeamHealthSorter, vgtSpeechBubble, vgtBubble,
    93             vgtSmallDamageTag, vgtTeamHealthSorter, vgtSpeechBubble, vgtBubble,
    94             vgtSteam, vgtAmmo, vgtSmoke, vgtSmokeWhite, vgtHealth, vgtShell,
    94             vgtSteam, vgtAmmo, vgtSmoke, vgtSmokeWhite, vgtHealth, vgtShell,
   125             amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch,
   125             amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch,
   126             amGirder, amTeleport, amSwitch, amMortar, amKamikaze, amCake,
   126             amGirder, amTeleport, amSwitch, amMortar, amKamikaze, amCake,
   127             amSeduction, amWatermelon, amHellishBomb, amNapalm, amDrill, amBallgun,
   127             amSeduction, amWatermelon, amHellishBomb, amNapalm, amDrill, amBallgun,
   128             amRCPlane, amLowGravity, amExtraDamage, amInvulnerable, amExtraTime,
   128             amRCPlane, amLowGravity, amExtraDamage, amInvulnerable, amExtraTime,
   129             amLaserSight, amVampiric, amSniperRifle, amJetpack, amMolotov, amBirdy, amPortalGun,
   129             amLaserSight, amVampiric, amSniperRifle, amJetpack, amMolotov, amBirdy, amPortalGun,
   130             amPiano, amGasBomb, amSineGun);
   130             amPiano, amGasBomb, amSineGun, amFlamethrower);
   131 
   131 
   132     THWFont = (fnt16, fntBig, fntSmall, CJKfnt16, CJKfntBig, CJKfntSmall);
   132     THWFont = (fnt16, fntBig, fntSmall, CJKfnt16, CJKfntBig, CJKfntSmall);
   133 
   133 
   134     TCapGroup = (capgrpGameState, capgrpAmmoinfo, capgrpVolume,
   134     TCapGroup = (capgrpGameState, capgrpAmmoinfo, capgrpVolume,
   135             capgrpMessage, capgrpAmmostate);
   135             capgrpMessage, capgrpAmmostate);
   747             (FileName:  'amSineGun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   747             (FileName:  'amSineGun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   748             Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false), // sprHandSineGun
   748             Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false), // sprHandSineGun
   749             (FileName:  'amPortalGun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   749             (FileName:  'amPortalGun'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   750             Width: 128; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false), // sprPortalGun
   750             Width: 128; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false), // sprPortalGun
   751             (FileName:  'Portal'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   751             (FileName:  'Portal'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   752             Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprPortal
   752             Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false), // sprPortal
   753             (FileName:  'cheese'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   753             (FileName:  'cheese'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   754             Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false),// sprCheese
   754             Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false), // sprCheese
   755             (FileName:  'amCheese'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   755             (FileName:  'amCheese'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   756             Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false) // sprHandCheese
   756             Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false), // sprHandCheese
       
   757             (FileName:  'amFlamethrower'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
       
   758             Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false)  // sprHandFlamethrower
   757             );
   759             );
   758 
   760 
   759     Wavez: array [TWave] of record
   761     Wavez: array [TWave] of record
   760             Sprite: TSprite;
   762             Sprite: TSprite;
   761             FramesCount: Longword;
   763             FramesCount: Longword;
  1903                 NumPerTurn: 3;
  1905                 NumPerTurn: 3;
  1904                 Timer: 0;
  1906                 Timer: 0;
  1905                 Pos: 0;
  1907                 Pos: 0;
  1906                 AmmoType: amPortalGun;
  1908                 AmmoType: amPortalGun;
  1907                 AttackVoice: sndNone);
  1909                 AttackVoice: sndNone);
  1908             Slot: 2;
  1910             Slot: 6;
  1909             TimeAfterTurn: 0;
  1911             TimeAfterTurn: 0;
  1910             minAngle: 0;
  1912             minAngle: 0;
  1911             maxAngle: 0;
  1913             maxAngle: 0;
  1912             isDamaging: false;
  1914             isDamaging: false;
  1913             SkipTurns: 0;
  1915             SkipTurns: 0;
  1972                 InitialCount: 1;
  1974                 InitialCount: 1;
  1973                 NumPerTurn: 0;
  1975                 NumPerTurn: 0;
  1974                 Timer: 0;
  1976                 Timer: 0;
  1975                 Pos: 0;
  1977                 Pos: 0;
  1976                 AmmoType: amSineGun;
  1978                 AmmoType: amSineGun;
       
  1979                 AttackVoice: sndNone);
       
  1980             Slot: 2;
       
  1981             TimeAfterTurn: 0;
       
  1982             minAngle: 0;
       
  1983             maxAngle: 0;
       
  1984             isDamaging: true;
       
  1985             SkipTurns: 0;
       
  1986             PosCount: 1;
       
  1987             PosSprite: sprWater),
       
  1988 
       
  1989 // Flamethrower
       
  1990             (NameId: sidFlamethrower;
       
  1991             NameTex: nil;
       
  1992             Probability: 20;
       
  1993             NumberInCase: 1;
       
  1994             Ammo: (Propz:  ammoprop_ForwMsgs or ammoprop_DontHold;
       
  1995                 Count: 1;
       
  1996                 InitialCount: 1;
       
  1997                 NumPerTurn: 0;
       
  1998                 Timer: 5001;
       
  1999                 Pos: 0;
       
  2000                 AmmoType: amFlamethrower;
  1977                 AttackVoice: sndNone);
  2001                 AttackVoice: sndNone);
  1978             Slot: 2;
  2002             Slot: 2;
  1979             TimeAfterTurn: 0;
  2003             TimeAfterTurn: 0;
  1980             minAngle: 0;
  2004             minAngle: 0;
  1981             maxAngle: 0;
  2005             maxAngle: 0;