- Timestamp:
- Apr 17, 2024, 10:23:55 AM (7 months ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Term.pas
r537 r545 2697 2697 2698 2698 MiniMap.Size := Point(G.lx, G.ly); 2699 for I := 0 to nPl - 1 do 2700 begin 2699 MiniMap.Bitmap.SetSize(MiniMap.Size.X * 2, MiniMap.Size.Y); 2700 2701 for I := 0 to nPl - 1 do begin 2701 2702 Tribe[I] := nil; 2702 2703 TribeOriginal[I] := False; … … 6619 6620 Application.ProcessMessages; 6620 6621 Sleep(1); 6621 Inc(SliceCount) 6622 Inc(SliceCount); 6622 6623 end; 6623 6624 Ticks := NowPrecise; -
trunk/MiniMap.pas
r520 r545 57 57 for X := 0 to 11 do 58 58 for Y := 0 to 1 do 59 Colors[ x, y] := HGrSystem.Data.Canvas.Pixels[66 + x, 67 + y];59 Colors[X, Y] := HGrSystem.Data.Canvas.Pixels[66 + X, 67 + Y]; 60 60 end; 61 61 -
trunk/Packages/DpiControls/Dpi.Common.pas
r539 r545 76 76 end; 77 77 78 if XSrc < 0 then begin 79 X := X - XSrc; 80 Width := Width - XSrc; 81 XSrc := 0; 82 end; 83 if YSrc < 0 then begin 84 Y := Y - YSrc; 85 Height := Height - YSrc; 86 YSrc := 0; 87 end; 88 78 89 if X < 0 then begin 79 90 Width := Width + X; … … 86 97 Y := 0; 87 98 end; 88 if (X + Width) > Dest.Width then begin99 if (X + Width) >= Dest.Width then begin 89 100 Width := Dest.Width - X; 90 101 end; 91 if (Y + Height) > Dest.Height then begin102 if (Y + Height) >= Dest.Height then begin 92 103 Height := Dest.Height - Y; 104 end; 105 if (Width < 0) or (Height < 0) then begin 106 Result := True; 107 Exit; 93 108 end; 94 109
Note:
See TracChangeset
for help on using the changeset viewer.