hedgewars/uConsts.pas
changeset 3710 411f5c2b5292
parent 3709 c7849b74748d
child 3712 de2026031833
equal deleted inserted replaced
3709:c7849b74748d 3710:411f5c2b5292
    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, sprHandFlamethrower, sprChunk, sprNote
    76             sprCheese, sprHandCheese, sprHandFlamethrower, sprChunk, sprNote,
       
    77             sprSMineOff, sprSMineOn, sprHandSMine
    77             );
    78             );
    78 
    79 
    79     // Gears that interact with other Gears and/or Land
    80     // Gears that interact with other Gears and/or Land
    80     TGearType = (gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtGrave, gtBee, // 4
    81     TGearType = (gtAmmo_Bomb, gtHedgehog, gtAmmo_Grenade, gtGrave, gtBee, // 4
    81             gtShotgunShot, gtPickHammer, gtRope, gtMine, gtCase, // 9
    82             gtShotgunShot, gtPickHammer, gtRope, gtMine, gtCase, // 9
    84             gtATFinishGame, gtParachute, gtAirAttack, gtAirBomb, gtBlowTorch, // 23
    85             gtATFinishGame, gtParachute, gtAirAttack, gtAirBomb, gtBlowTorch, // 23
    85             gtGirder, gtTeleport, gtSwitcher, gtTarget, gtMortar, // 28
    86             gtGirder, gtTeleport, gtSwitcher, gtTarget, gtMortar, // 28
    86             gtWhip, gtKamikaze, gtCake, gtSeduction, gtWatermelon, gtMelonPiece, // 34
    87             gtWhip, gtKamikaze, gtCake, gtSeduction, gtWatermelon, gtMelonPiece, // 34
    87             gtHellishBomb, gtWaterUp, gtDrill, gtBallGun, gtBall, gtRCPlane, // 40
    88             gtHellishBomb, gtWaterUp, gtDrill, gtBallGun, gtBall, gtRCPlane, // 40
    88             gtSniperRifleShot, gtJetpack, gtMolotov, gtExplosives, gtBirdy, // 45
    89             gtSniperRifleShot, gtJetpack, gtMolotov, gtExplosives, gtBirdy, // 45
    89             gtEgg, gtPortal, gtPiano, gtGasBomb, gtSineGunShot, gtFlamethrower); // 51
    90             gtEgg, gtPortal, gtPiano, gtGasBomb, gtSineGunShot, gtFlamethrower, // 51
       
    91             gtSMine);
    90 
    92 
    91     // 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.)
    92     TVisualGearType = (vgtFlake, vgtCloud, vgtExplPart, vgtExplPart2, vgtFire,
    94     TVisualGearType = (vgtFlake, vgtCloud, vgtExplPart, vgtExplPart2, vgtFire,
    93             vgtSmallDamageTag, vgtTeamHealthSorter, vgtSpeechBubble, vgtBubble,
    95             vgtSmallDamageTag, vgtTeamHealthSorter, vgtSpeechBubble, vgtBubble,
    94             vgtSteam, vgtAmmo, vgtSmoke, vgtSmokeWhite, vgtHealth, vgtShell,
    96             vgtSteam, vgtAmmo, vgtSmoke, vgtSmokeWhite, vgtHealth, vgtShell,
   127             amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch,
   129             amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch,
   128             amGirder, amTeleport, amSwitch, amMortar, amKamikaze, amCake,
   130             amGirder, amTeleport, amSwitch, amMortar, amKamikaze, amCake,
   129             amSeduction, amWatermelon, amHellishBomb, amNapalm, amDrill, amBallgun,
   131             amSeduction, amWatermelon, amHellishBomb, amNapalm, amDrill, amBallgun,
   130             amRCPlane, amLowGravity, amExtraDamage, amInvulnerable, amExtraTime,
   132             amRCPlane, amLowGravity, amExtraDamage, amInvulnerable, amExtraTime,
   131             amLaserSight, amVampiric, amSniperRifle, amJetpack, amMolotov, amBirdy, amPortalGun,
   133             amLaserSight, amVampiric, amSniperRifle, amJetpack, amMolotov, amBirdy, amPortalGun,
   132             amPiano, amGasBomb, amSineGun, amFlamethrower);
   134             amPiano, amGasBomb, amSineGun, amFlamethrower, amSMine);
   133 
   135 
   134     THWFont = (fnt16, fntBig, fntSmall, CJKfnt16, CJKfntBig, CJKfntSmall);
   136     THWFont = (fnt16, fntBig, fntSmall, CJKfnt16, CJKfntBig, CJKfntSmall);
   135 
   137 
   136     TCapGroup = (capgrpGameState, capgrpAmmoinfo, capgrpVolume,
   138     TCapGroup = (capgrpGameState, capgrpAmmoinfo, capgrpVolume,
   137             capgrpMessage, capgrpAmmostate);
   139             capgrpMessage, capgrpAmmostate);
   791             (FileName:  'amFlamethrower'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   793             (FileName:  'amFlamethrower'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   792             Width:  128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandFlamethrower
   794             Width:  128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandFlamethrower
   793             (FileName:  'Chunk'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
   795             (FileName:  'Chunk'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
   794             Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprChunk
   796             Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprChunk
   795             (FileName:  'Note'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   797             (FileName:  'Note'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   796             Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true) // sprNote
   798             Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprNote
       
   799             (FileName:   'SMineOff'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
       
   800             Width:   8; Height:  8; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSMineOff
       
   801             (FileName:    'SMineOn'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
       
   802             Width:   8; Height:  8; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSMineOn
       
   803             (FileName:  'amSMine'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
       
   804             Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true) // sprHandSMine
   797             );
   805             );
   798 
   806 
   799     Wavez: array [TWave] of record
   807     Wavez: array [TWave] of record
   800             Sprite: TSprite;
   808             Sprite: TSprite;
   801             FramesCount: Longword;
   809             FramesCount: Longword;
  2142             isDamaging: true;
  2150             isDamaging: true;
  2143             SkipTurns: 0;
  2151             SkipTurns: 0;
  2144             PosCount: 1;
  2152             PosCount: 1;
  2145             PosSprite: sprWater;
  2153             PosSprite: sprWater;
  2146             ejectX: 0; //20;
  2154             ejectX: 0; //20;
  2147             ejectY: -3)
  2155             ejectY: -3),
       
  2156 
       
  2157 // Mine
       
  2158             (NameId: sidSMine;
       
  2159             NameTex: nil;
       
  2160             Probability: 100;
       
  2161             NumberInCase: 1;
       
  2162             Ammo: (Propz: ammoprop_Power or ammoprop_AltUse;
       
  2163                 Count: 2;
       
  2164                 InitialCount: 0;
       
  2165                 NumPerTurn: 0;
       
  2166                 Timer: 0;
       
  2167                 Pos: 0;
       
  2168                 AmmoType: amSMine;
       
  2169                 AttackVoice: sndLaugh);
       
  2170             Slot: 4;
       
  2171             TimeAfterTurn: 5000;
       
  2172             minAngle: 0;
       
  2173             maxAngle: 0;
       
  2174             isDamaging: true;
       
  2175             SkipTurns: 0;
       
  2176             PosCount: 1;
       
  2177             PosSprite: sprWater;
       
  2178             ejectX: 0;
       
  2179             ejectY: 0)
  2148             );
  2180             );
  2149 
  2181 
  2150 
  2182 
  2151     conversionFormat: TSDL_PixelFormat = (
  2183     conversionFormat: TSDL_PixelFormat = (
  2152         palette: nil;
  2184         palette: nil;