Changeset 496 for trunk/LocalPlayer/Enhance.pas
- Timestamp:
- Dec 18, 2023, 10:31:54 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Enhance.pas
r468 r496 126 126 procedure TEnhanceDlg.OffscreenPaint; 127 127 var 128 I, stage, TerrType, TileImp, X, EndStage, Cost, LastJob: Integer;128 I, Stage, TerrType, TileImp, X, EndStage, Cost, LastJob: Integer; 129 129 S: string; 130 Done: set of jNone ..jTrans;130 Done: set of jNone..jTrans; 131 131 TypeChanged: Boolean; 132 132 begin 133 OffscreenUser := self;133 OffscreenUser := Self; 134 134 Offscreen.Canvas.Font.Assign(UniFont[ftSmall]); 135 135 FillOffscreen(0, 0, InnerWidth, InnerHeight); … … 145 145 Done := []; 146 146 Cost := 0; 147 for stage := 0 to EndStage do147 for Stage := 0 to EndStage do 148 148 begin 149 if stage > 0 then149 if Stage > 0 then 150 150 begin 151 151 Sprite(Offscreen, HGrSystem, X - 10, 66, 14, 14, 80, 1); 152 case MyData.EnhancementJobs[Page, stage - 1] of152 case MyData.EnhancementJobs[Page, Stage - 1] of 153 153 jRoad: 154 154 begin … … 192 192 end; 193 193 end; 194 Include(Done, MyData.EnhancementJobs[Page, stage - 1]);194 Include(Done, MyData.EnhancementJobs[Page, Stage - 1]); 195 195 end; 196 196
Note:
See TracChangeset
for help on using the changeset viewer.