Ignore:
Timestamp:
Jan 7, 2024, 10:24:51 PM (10 months ago)
Author:
chronos
Message:
  • Modified: Code cleanup.
  • Added: High DPI aware SetWindowPos function.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/IsoEngine.pas

    r506 r522  
    13721372  I: Integer;
    13731373begin
    1374   FOutput.Canvas.pen.Color := $000000; // $FF shl (8*random(3));
     1374  FOutput.Canvas.pen.Color := $000000; // $FF shl (8 * Random(3));
    13751375  for I := 0 to nx div 2 do
    13761376    ClippedLine(I * 2, 0, False);
     
    14301430  for Y := 0 to ScaleToNative(Height) - 1 do begin
    14311431    y_n := (ScaleFromNative(Y) + y0 - ym) / yyt;
    1432     if abs(y_n) < rShade then begin
     1432    if Abs(y_n) < rShade then begin
    14331433      // Darken left and right parts of elipsis
    14341434      w_n := sqrt(sqr(rShade) - sqr(y_n));
Note: See TracChangeset for help on using the changeset viewer.