Changeset 186 for trunk/LocalPlayer/IsoEngine.pas
- Timestamp:
- May 6, 2020, 8:48:39 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/IsoEngine.pas
r182 r186 5 5 6 6 uses 7 Protocol, ClientTools, ScreenTools, Tribes, 8 {$IFNDEF SCR}Term, {$ENDIF} 7 Protocol, ClientTools, ScreenTools, Tribes, {$IFNDEF SCR}Term, {$ENDIF} 9 8 LCLIntf, LCLType, SysUtils, Classes, Graphics, PixelPointer; 10 9 … … 478 477 begin 479 478 Width := Width - (FLeft - x); 480 x := FLeft 479 x := FLeft; 481 480 end; 482 481 if y < FTop then 483 482 begin 484 483 Height := Height - (FTop - y); 485 y := FTop 484 y := FTop; 486 485 end; 487 486 if x + Width >= FRight then … … 510 509 Width := Width - (FLeft - x); 511 510 xSrc := xSrc + (FLeft - x); 512 x := FLeft 511 x := FLeft; 513 512 end; 514 513 if y < FTop then … … 516 515 Height := Height - (FTop - y); 517 516 ySrc := ySrc + (FTop - y); 518 y := FTop 517 y := FTop; 519 518 end; 520 519 if x + Width >= FRight then … … 628 627 TSprite(x,y+16,12*9+7); } 629 628 Sprite(HGrStdUnits, x, y, xxu * 2, yyu * 2, 1 + 6 * (xxu * 2 + 1), 1); 630 end 631 end 629 end; 630 end; 632 631 end; { PaintUnit } 633 632
Note:
See TracChangeset
for help on using the changeset viewer.