hedgewars/GearDrawing.inc
changeset 3717 d88719b0f0dc
parent 3713 f8778904600d
child 3751 a70c61c076ae
equal deleted inserted replaced
3716:3a2ee9533e3e 3717:d88719b0f0dc
   255                 dec(sy,20);
   255                 dec(sy,20);
   256                 end;
   256                 end;
   257             gtTeleport: defaultPos:= false;
   257             gtTeleport: defaultPos:= false;
   258             gtWhip: begin
   258             gtWhip: begin
   259                 DrawRotatedF(sprWhip,
   259                 DrawRotatedF(sprWhip,
       
   260                         sx,
       
   261                         sy,
       
   262                         1,
       
   263                         hwSign(Gear^.dX),
       
   264                         0);
       
   265                 defaultPos:= false
       
   266                 end;
       
   267             gtHammer: begin
       
   268                 DrawRotatedF(sprHammer,
   260                         sx,
   269                         sx,
   261                         sy,
   270                         sy,
   262                         1,
   271                         1,
   263                         hwSign(Gear^.dX),
   272                         hwSign(Gear^.dX),
   264                         0);
   273                         0);
   432                         hwSign(Gear^.dX),
   441                         hwSign(Gear^.dX),
   433                         1,
   442                         1,
   434                         5,
   443                         5,
   435                         0);
   444                         0);
   436             amWhip: DrawRotatedF(sprWhip,
   445             amWhip: DrawRotatedF(sprWhip,
       
   446                         sx,
       
   447                         sy,
       
   448                         0,
       
   449                         hwSign(Gear^.dX),
       
   450                         0);
       
   451             amHammer: DrawRotatedF(sprHammer,
   437                         sx,
   452                         sx,
   438                         sy,
   453                         sy,
   439                         0,
   454                         0,
   440                         hwSign(Gear^.dX),
   455                         hwSign(Gear^.dX),
   441                         0);
   456                         0);