Changeset 456 for trunk/LocalPlayer/Term.pas
- Timestamp:
- May 30, 2023, 11:31:10 AM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Term.pas
r447 r456 14 14 LCLIntf, LCLType, SysUtils, Classes, Graphics, Controls, DrawDlg, Types, 15 15 Forms, Menus, ExtCtrls, dateutils, Platform, ButtonB, ButtonC, EOTButton, Area, 16 UGraphicSet, UMiniMap, IsoEngine;16 GraphicSet, MiniMap, IsoEngine; 17 17 18 18 const … … 591 591 uses 592 592 Directories, CityScreen, Draft, MessgEx, Select, CityType, Help, 593 UnitStat, Log, Diagram, NatStat, Wonders, Enhance, Nego, UPixelPointer, Sound,594 Battle, Rates, TechTree, Registry, Global, UKeyBindings, CmdList;593 UnitStat, Log, Diagram, NatStat, Wonders, Enhance, Nego, PixelPointer, Sound, 594 Battle, Rates, TechTree, Registry, Global, KeyBindings, CmdList; 595 595 596 596 {$R *.lfm} … … 680 680 for ix := 0 to BigImp.Width div xSizeBig - 1 do 681 681 for iy := 0 to BigImp.Height div ySizeBig - 1 do begin 682 PixelPtr := PixelPointer(BigImp, ScaleToNative(ix * xSizeBig),682 PixelPtr := TPixelPointer.Create(BigImp, ScaleToNative(ix * xSizeBig), 683 683 ScaleToNative(Cut + iy * ySizeBig)); 684 684 for Y := 0 to ScaleToNative(ySizeBig - 2 * Cut) - 1 do begin … … 718 718 SmallImp.SetSize(nx, ny); 719 719 SmallImp.BeginUpdate; 720 PixelPtr := PixelPointer(SmallImp);720 PixelPtr := TPixelPointer.Create(SmallImp); 721 721 for Y := 0 to ScaleToNative(ny) - 1 do begin 722 722 for X := 0 to ScaleToNative(nx) - 1 do begin … … 6877 6877 begin 6878 6878 BrushType := trix[I]; 6879 PanelPaint 6879 PanelPaint; 6880 6880 end 6881 6881 else if (TroopLoc >= 0) then
Note:
See TracChangeset
for help on using the changeset viewer.