Changeset 423 for trunk/LocalPlayer/Term.pas
- Timestamp:
- Apr 25, 2022, 6:01:01 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Term.pas
r420 r423 5 5 6 6 uses 7 {$IFDEF W indows}7 {$IFDEF WINDOWS} 8 8 Windows, 9 9 {$ENDIF} 10 {$IFDEF Linux}10 {$IFDEF UNIX} 11 11 LMessages, Messages, 12 12 {$ENDIF} … … 4705 4705 end; 4706 4706 4707 {$IFDEF LINUX}4707 {$IFDEF UNIX} 4708 4708 // Can't do scrolling of DC under Linux, then fallback into BitBlt. 4709 4709 function ScrollDC(Canvas: TCanvas; dx: longint; dy: longint; const lprcScroll:TRect; const lprcClip:TRect; hrgnUpdate:HRGN; lprcUpdate: PRect):Boolean; … … 4763 4763 rec, rec, 0, nil); 4764 4764 {$ENDIF} 4765 {$IFDEF LINUX}4765 {$IFDEF UNIX} 4766 4766 ScrollDC(offscreen.Canvas, (xwd - xw) * (xxt * 2), (ywd - yw) * yyt, 4767 4767 rec, rec, 0, nil); … … 4774 4774 rec, 0, nil); 4775 4775 {$ENDIF} 4776 {$IFDEF LINUX}4776 {$IFDEF UNIX} 4777 4777 ScrollDC(Canvas, (xwd - xw) * (xxt * 2), (ywd - yw) * yyt, 4778 4778 rec, rec, 0, nil); … … 6672 6672 NoMap.PaintUnit(xMoving - xMin, yMoving - yMin, UnitInfo, 0); 6673 6673 PaintBufferToScreen(xMin, yMin, xRange, yRange); 6674 {$IFDEF LINUX}6675 // TODO: Force animation under linux6674 {$IFDEF UNIX} 6675 // TODO: Force animation under UNIX 6676 6676 Application.ProcessMessages; 6677 6677 {$ENDIF}
Note:
See TracChangeset
for help on using the changeset viewer.