hedgewars/uVariables.pas
branchhedgeroid
changeset 5385 a864a0aeed96
parent 5357 ec36f3d53f3c
child 5372 7283bc768228
equal deleted inserted replaced
5383:cb217271f344 5385:a864a0aeed96
  2168             PosSprite: sprWater;
  2168             PosSprite: sprWater;
  2169             ejectX: 0; //20;
  2169             ejectX: 0; //20;
  2170             ejectY: -3)
  2170             ejectY: -3)
  2171         );
  2171         );
  2172 
  2172 
       
  2173     GearKindAmmoTypeMap : array [TGearType] of TAmmoType = (    
       
  2174 (*        gtGrenade *)   amGrenade
       
  2175 (*       gtHedgehog *) , amNothing
       
  2176 (*          gtShell *) , amBazooka
       
  2177 (*          gtGrave *) , amNothing
       
  2178 (*            gtBee *) , amBee
       
  2179 (*    gtShotgunShot *) , amShotgun
       
  2180 (*     gtPickHammer *) , amPickHammer
       
  2181 (*           gtRope *) , amRope
       
  2182 (*           gtMine *) , amNothing
       
  2183 (*           gtCase *) , amNothing
       
  2184 (*     gtDEagleShot *) , amDEagle
       
  2185 (*       gtDynamite *) , amDynamite
       
  2186 (*    gtClusterBomb *) , amClusterBomb
       
  2187 (*        gtCluster *) , amClusterBomb
       
  2188 (*         gtShover *) , amBaseballBat  // Shover is only used for baseball bat right now
       
  2189 (*          gtFlame *) , amNothing
       
  2190 (*      gtFirePunch *) , amFirePunch
       
  2191 (*    gtATStartGame *) , amNothing
       
  2192 (*   gtATFinishGame *) , amNothing
       
  2193 (*      gtParachute *) , amParachute
       
  2194 (*      gtAirAttack *) , amAirAttack
       
  2195 (*        gtAirBomb *) , amAirAttack
       
  2196 (*      gtBlowTorch *) , amBlowTorch
       
  2197 (*         gtGirder *) , amGirder
       
  2198 (*       gtTeleport *) , amTeleport
       
  2199 (*       gtSwitcher *) , amSwitch
       
  2200 (*         gtTarget *) , amNothing
       
  2201 (*         gtMortar *) , amMortar
       
  2202 (*           gtWhip *) , amWhip
       
  2203 (*       gtKamikaze *) , amKamikaze
       
  2204 (*           gtCake *) , amCake
       
  2205 (*      gtSeduction *) , amSeduction
       
  2206 (*     gtWatermelon *) , amWatermelon
       
  2207 (*     gtMelonPiece *) , amWatermelon
       
  2208 (*    gtHellishBomb *) , amHellishBomb
       
  2209 (*        gtWaterUp *) , amNothing
       
  2210 (*          gtDrill *) , amDrill
       
  2211 (*        gtBallGun *) , amBallgun
       
  2212 (*           gtBall *) , amBallgun
       
  2213 (*        gtRCPlane *) , amRCPlane
       
  2214 (*gtSniperRifleShot *) , amSniperRifle
       
  2215 (*        gtJetpack *) , amJetpack
       
  2216 (*        gtMolotov *) , amMolotov
       
  2217 (*     gtExplosives *) , amNothing
       
  2218 (*          gtBirdy *) , amBirdy
       
  2219 (*            gtEgg *) , amBirdy
       
  2220 (*         gtPortal *) , amPortalGun
       
  2221 (*          gtPiano *) , amPiano
       
  2222 (*        gtGasBomb *) , amGasBomb
       
  2223 (*    gtSineGunShot *) , amSineGun
       
  2224 (*   gtFlamethrower *) , amFlamethrower
       
  2225 (*          gtSMine *) , amSMine
       
  2226 (*    gtPoisonCloud *) , amNothing
       
  2227 (*         gtHammer *) , amHammer
       
  2228 (*      gtHammerHit *) , amHammer
       
  2229 (*    gtResurrector *) , amResurrector
       
  2230 (*    gtPoisonCloud *) , amNothing
       
  2231 (*       gtSnowball *) , amSnowball
       
  2232 (*          gtFlake *) , amNothing
       
  2233 (*      gtStructure *) , amStructure  // TODO - This will undoubtedly change once there is more than one structure
       
  2234 (*        gtLandGun *) , amLandGun
       
  2235 (*         gtTardis *) , amTardis
       
  2236     );
       
  2237 
  2173 var
  2238 var
  2174     Land: TCollisionArray;
  2239     Land: TCollisionArray;
  2175     LandPixels: TLandArray;
  2240     LandPixels: TLandArray;
  2176     LandDirty: TDirtyTag;
  2241     LandDirty: TDirtyTag;
  2177     hasBorder: boolean;
  2242     hasBorder: boolean;