hedgewars/uConsts.pas
changeset 3963 6090d2a2472e
parent 3951 c9a63db3e603
child 3975 3f605cca9215
equal deleted inserted replaced
3962:e9ee2bd51e08 3963:6090d2a2472e
    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, sprHammer
    77             sprSMineOff, sprSMineOn, sprHandSMine, sprHammer, sprResurrector
    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, gtHammer, gtHammerHit);
    91             gtSMine, gtPoisonCloud, gtHammer, gtHammerHit, gtResurrector);
    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,
   130             amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch, // 18
   130             amBaseballBat, amParachute, amAirAttack, amMineStrike, amBlowTorch, // 18
   131             amGirder, amTeleport, amSwitch, amMortar, amKamikaze, amCake, // 24
   131             amGirder, amTeleport, amSwitch, amMortar, amKamikaze, amCake, // 24
   132             amSeduction, amWatermelon, amHellishBomb, amNapalm, amDrill, amBallgun, // 30
   132             amSeduction, amWatermelon, amHellishBomb, amNapalm, amDrill, amBallgun, // 30
   133             amRCPlane, amLowGravity, amExtraDamage, amInvulnerable, amExtraTime, // 35
   133             amRCPlane, amLowGravity, amExtraDamage, amInvulnerable, amExtraTime, // 35
   134             amLaserSight, amVampiric, amSniperRifle, amJetpack, amMolotov, amBirdy, amPortalGun, // 42
   134             amLaserSight, amVampiric, amSniperRifle, amJetpack, amMolotov, amBirdy, amPortalGun, // 42
   135             amPiano, amGasBomb, amSineGun, amFlamethrower, amSMine, amHammer); // 48
   135             amPiano, amGasBomb, amSineGun, amFlamethrower, amSMine, amHammer, // 48
       
   136             amResurrector);
   136 
   137 
   137     TCrateType = (HealthCrate, AmmoCrate, UtilityCrate);
   138     TCrateType = (HealthCrate, AmmoCrate, UtilityCrate);
   138 
   139 
   139     THWFont = (fnt16, fntBig, fntSmall {$IFNDEF IPHONEOS}, CJKfnt16, CJKfntBig, CJKfntSmall{$ENDIF});
   140     THWFont = (fnt16, fntBig, fntSmall {$IFNDEF IPHONEOS}, CJKfnt16, CJKfntBig, CJKfntSmall{$ENDIF});
   140 
   141 
   813             (FileName:    'SMineOn'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   814             (FileName:    'SMineOn'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   814             Width:   8; Height:  8; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSMineOn
   815             Width:   8; Height:  8; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSMineOn
   815             (FileName:   'amSMine'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   816             (FileName:   'amSMine'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   816             Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandSMine
   817             Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandSMine
   817             (FileName:  'amHammer'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   818             (FileName:  'amHammer'; Path: ptHedgehog; AltPath: ptNone; Texture: nil; Surface: nil;
   818             Width: 128; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true) // sprWhip
   819             Width: 128; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true), // sprWhip
       
   820             (FileName: 'amResurrector'; Path: ptHedgehog; AltPath: ptNone;
       
   821                 Texture: nil; Surface: nil; Width: 128; Height: 64;
       
   822                 imageWidth: 0; imageHeight: 0; saveSurf: false; priority:
       
   823                 tpMedium; getDimensions: false; getImageDimensions: true) 
   819             );
   824             );
   820 
   825 
   821     Wavez: array [TWave] of record
   826     Wavez: array [TWave] of record
   822             Sprite: TSprite;
   827             Sprite: TSprite;
   823             FramesCount: Longword;
   828             FramesCount: Longword;
  2167             isDamaging: true;
  2172             isDamaging: true;
  2168             SkipTurns: 0;
  2173             SkipTurns: 0;
  2169             PosCount: 1;
  2174             PosCount: 1;
  2170             PosSprite: sprWater;
  2175             PosSprite: sprWater;
  2171             ejectX: 0;
  2176             ejectX: 0;
       
  2177             ejectY: 0),
       
  2178 
       
  2179         (NameId: sidResurrector;
       
  2180             NameTex: nil;
       
  2181             Probability: 0;
       
  2182             NumberInCase: 1;
       
  2183             Ammo: (Propz: ammoprop_NoCrosshair;
       
  2184                 Count: 1;
       
  2185                 NumPerTurn: 0;
       
  2186                 Timer: 0;
       
  2187                 Pos: 0;
       
  2188                 AmmoType: amResurrector;
       
  2189                 AttackVoice: sndNone);
       
  2190             Slot: 8;
       
  2191             TimeAfterTurn: 3000;
       
  2192             minAngle: 0;
       
  2193             maxAngle: 0;
       
  2194             isDamaging: true;
       
  2195             SkipTurns: 0;
       
  2196             PosCount: 1;
       
  2197             PosSprite: sprWater;
       
  2198             ejectX: 0;
  2172             ejectY: 0)
  2199             ejectY: 0)
  2173             );
  2200         );
       
  2201 
  2174 
  2202 
  2175 
  2203 
  2176     conversionFormat: TSDL_PixelFormat = (
  2204     conversionFormat: TSDL_PixelFormat = (
  2177         palette: nil;
  2205         palette: nil;
  2178         BitsPerPixel : 32;
  2206         BitsPerPixel : 32;