Ignore:
Timestamp:
Apr 15, 2024, 8:59:23 PM (7 months ago)
Author:
chronos
Message:
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Select.pas

    r531 r536  
    242242  CityReport: TCityReportNew;
    243243  mox: ^TModelInfo;
    244   S, number: string;
     244  S, Number: string;
    245245  CanGrow: Boolean;
    246246begin
     
    363363              y0 + 2, 131, 3);
    364364            ca.Font.Assign(UniFont[ftSmall]);
    365             RisedTextout(Offscreen.Canvas, 103 + CityNameSpace + 4 + 31,
     365            RisedTextOut(Offscreen.Canvas, 103 + CityNameSpace + 4 + 31,
    366366              y0 + 1, S);
    367367            ca.Font.Assign(UniFont[ftNormal]);
     
    652652              else if (Kind = kScience) and (FutureCount > 0) then
    653653              begin
    654                 number := IntToStr(FutureCount);
    655                 RisedTextout(ca, 104 - 33 + 15 + 10 + TechNameSpace + 24 * J -
    656                   BiColorTextWidth(ca, number) div 2, y0, number);
     654                Number := IntToStr(FutureCount);
     655                RisedTextOut(ca, 104 - 33 + 15 + 10 + TechNameSpace + 24 * J -
     656                  BiColorTextWidth(ca, Number) div 2, y0, Number);
    657657              end;
    658658            end;
Note: See TracChangeset for help on using the changeset viewer.