hedgewars/GearDrawing.inc
changeset 3963 6090d2a2472e
parent 3909 4ba25a3d15af
child 3991 82e4a5ef18f7
equal deleted inserted replaced
3962:e9ee2bd51e08 3963:6090d2a2472e
   275                         1,
   275                         1,
   276                         hwSign(Gear^.dX),
   276                         hwSign(Gear^.dX),
   277                         0);
   277                         0);
   278                 defaultPos:= false
   278                 defaultPos:= false
   279                 end;
   279                 end;
       
   280             gtResurrector: begin
       
   281                 // yet to come?
       
   282             end;
   280             gtKamikaze: begin
   283             gtKamikaze: begin
   281                 if CurAmmoGear^.Pos = 0 then
   284                 if CurAmmoGear^.Pos = 0 then
   282                     DrawHedgehog(sx, sy,
   285                     DrawHedgehog(sx, sy,
   283                             hwSign(Gear^.dX),
   286                             hwSign(Gear^.dX),
   284                             1,
   287                             1,
   429                                   cWaterLine+WorldDy,
   432                                   cWaterLine+WorldDy,
   430                                   LongInt(leftX)+WorldDx)
   433                                   LongInt(leftX)+WorldDx)
   431                 end;
   434                 end;
   432             amBee: DrawRotatedF(sprHandBee, hx, hy, (RealTicks div 125) mod 4, hwSign(Gear^.dX), aangle);
   435             amBee: DrawRotatedF(sprHandBee, hx, hy, (RealTicks div 125) mod 4, hwSign(Gear^.dX), aangle);
   433             amFlamethrower: DrawRotatedF(sprHandFlamethrower, hx, hy, (RealTicks div 125) mod 4, hwSign(Gear^.dX), aangle);
   436             amFlamethrower: DrawRotatedF(sprHandFlamethrower, hx, hy, (RealTicks div 125) mod 4, hwSign(Gear^.dX), aangle);
       
   437             amResurrector: begin
       
   438                 DrawCircle(hwRound(Gear^.X), hwRound(Gear^.y), 100, 1.5, 0, 0,
       
   439                         $FF, $FF); // I'd rather not like to hardcore 100 here
       
   440             end;
   434         end;
   441         end;
   435 
   442 
   436         case amt of
   443         case amt of
   437             amAirAttack,
   444             amAirAttack,
   438             amMineStrike: DrawRotated(sprHandAirAttack, sx, hwRound(Gear^.Y) + WorldDy, hwSign(Gear^.dX), 0);
   445             amMineStrike: DrawRotated(sprHandAirAttack, sx, hwRound(Gear^.Y) + WorldDy, hwSign(Gear^.dX), 0);