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

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/CityScreen.pas

    r530 r536  
    579579      J := Pos('\', S);
    580580      if J = 0 then
    581         LoweredTextout(Offscreen.Canvas, -1, MainTexture, xmOpt + 40,
     581        LoweredTextOut(Offscreen.Canvas, -1, MainTexture, xmOpt + 40,
    582582          ymOpt - 9, S)
    583583      else
    584584      begin
    585         LoweredTextout(Offscreen.Canvas, -1, MainTexture, xmOpt + 40,
     585        LoweredTextOut(Offscreen.Canvas, -1, MainTexture, xmOpt + 40,
    586586          ymOpt - 17, Copy(S, 1, J - 1));
    587         LoweredTextout(Offscreen.Canvas, -1, MainTexture, xmOpt + 40, ymOpt - 1,
     587        LoweredTextOut(Offscreen.Canvas, -1, MainTexture, xmOpt + 40, ymOpt - 1,
    588588          Copy(S, J + 1, 255));
    589589      end;
     
    718718    CutCityFoodSurplus(Report.FoodSurplus, IsCityAlive, cGov, C.Size),
    719719    Report.Storage, 1, CanGrow);
    720   LoweredTextout(Offscreen.Canvas, -1, MainTexture, xFood + 3 - 5,
     720  LoweredTextOut(Offscreen.Canvas, -1, MainTexture, xFood + 3 - 5,
    721721    yFood + 102 - 20, Format('%d/%d', [TrueFood, Report.Storage]));
    722   LoweredTextout(Offscreen.Canvas, -1, MainTexture, xFood - 2, yFood + 66,
     722  LoweredTextOut(Offscreen.Canvas, -1, MainTexture, xFood - 2, yFood + 66,
    723723    Phrases.Lookup('STORAGE'));
    724724
     
    751751        I := 0;
    752752      FillBar(xProd + 3, yProd + 16 + 63, TrueProd, I, PrCost, 4, True);
    753       LoweredTextout(Offscreen.Canvas, -1, MainTexture, xProd + 3 - 5,
     753      LoweredTextOut(Offscreen.Canvas, -1, MainTexture, xProd + 3 - 5,
    754754        yProd + 16 + 43, Format('%d/%d', [TrueProd, PrCost]));
    755755      if BiColorTextWidth(Offscreen.Canvas, PrName) > wBar + dxBar then
     
    912912  else { if SmallMapMode = smSupportedUnits then }
    913913  begin
    914     LoweredTextout(Offscreen.Canvas, -1, MainTexture, xZoomMap + 6,
     914    LoweredTextOut(Offscreen.Canvas, -1, MainTexture, xZoomMap + 6,
    915915      yZoomMap + 2, Phrases.Lookup('SUPUNITS'));
    916916    FreeSupp := C.Size * SupportFree[cGov] shr 1;
Note: See TracChangeset for help on using the changeset viewer.