equal
deleted
inserted
replaced
526 |
526 |
527 case amt of |
527 case amt of |
528 amBazooka, |
528 amBazooka, |
529 amRope, |
529 amRope, |
530 amShotgun, |
530 amShotgun, |
531 amDEagle: begin |
531 amDEagle, |
|
532 amBaseballBat: begin |
532 DrawHedgehog(hwRound(Gear^.X) + 1 + WorldDx, hwRound(Gear^.Y) - 3 + WorldDy, |
533 DrawHedgehog(hwRound(Gear^.X) + 1 + WorldDx, hwRound(Gear^.Y) - 3 + WorldDy, |
533 hwSign(Gear^.dX), |
534 hwSign(Gear^.dX), |
534 0, |
535 0, |
535 4, |
536 4, |
536 0); |
537 0); |
537 defaultPos:= false |
|
538 end; |
538 end; |
539 amAirAttack, |
539 amAirAttack, |
540 amMineStrike: begin |
540 amMineStrike: begin |
541 DrawRotated(sprHandAirAttack, hwRound(Gear^.X) + 1 + WorldDx, hwRound(Gear^.Y) + WorldDy, hwSign(Gear^.dX), 0); |
541 DrawRotated(sprHandAirAttack, hwRound(Gear^.X) + 1 + WorldDx, hwRound(Gear^.Y) + WorldDy, hwSign(Gear^.dX), 0); |
542 defaultPos:= false |
542 end; |
|
543 amPickHammer: begin |
|
544 DrawHedgehog(hwRound(Gear^.X) + 1 + WorldDx, hwRound(Gear^.Y) - 3 + WorldDy, |
|
545 hwSign(Gear^.dX), |
|
546 1, |
|
547 2, |
|
548 0); |
543 end; |
549 end; |
544 else |
550 else |
545 DrawHedgehog(hwRound(Gear^.X) + 1 + WorldDx, hwRound(Gear^.Y) - 3 + WorldDy, |
551 DrawHedgehog(hwRound(Gear^.X) + 1 + WorldDx, hwRound(Gear^.Y) - 3 + WorldDy, |
546 hwSign(Gear^.dX), |
552 hwSign(Gear^.dX), |
547 0, |
553 0, |
548 3, |
554 3, |
549 0); |
555 0); |
550 defaultPos:= false |
556 end; |
551 end |
557 |
|
558 case amt of |
|
559 amBaseballBat: DrawRotated(sprHandBaseball, |
|
560 hwRound(Gear^.X) + 1 - 4 * hwSign(Gear^.dX) + WorldDx, |
|
561 hwRound(Gear^.Y) + 6 + WorldDy, hwSign(Gear^.dX), aangle); |
|
562 end; |
|
563 |
|
564 defaultPos:= false |
552 end |
565 end |
553 end; |
566 end; |
554 |
567 |
555 if defaultPos then |
568 if defaultPos then |
556 DrawHedgehog(hwRound(Gear^.X) + 1 + WorldDx, hwRound(Gear^.Y) - 3 + WorldDy, |
569 DrawHedgehog(hwRound(Gear^.X) + 1 + WorldDx, hwRound(Gear^.Y) - 3 + WorldDy, |