Changeset 464 for trunk/LocalPlayer
- Timestamp:
- Nov 29, 2023, 6:25:22 PM (12 months ago)
- Location:
- trunk/LocalPlayer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/CityScreen.pas
r460 r464 403 403 D, I, Total, xGr, yGr: Integer; 404 404 TileInfo: TTileInfo; 405 rare: Boolean;405 Rare: Boolean; 406 406 begin 407 407 with AreaMap do begin … … 412 412 end; 413 413 Total := TileInfo.Food + TileInfo.Prod + TileInfo.Trade; 414 rare := MyMap[Loc] and $06000000 > 0;415 if rare then414 Rare := MyMap[Loc] and $06000000 > 0; 415 if Rare then 416 416 Inc(Total); 417 417 if Add4Happy then … … 431 431 yGr := 126 432 432 end 433 else if rare and (I = Total - 1) then433 else if Rare and (I = Total - 1) then 434 434 xGr := 66 + 110 435 435 else if I >= TileInfo.Food + TileInfo.Prod then -
trunk/LocalPlayer/Tribes.pas
r457 r464 509 509 HGr := LoadGraphicSet(GrName); 510 510 pix := Info.pix; 511 Inc(HGr. pixUsed[pix]);511 Inc(HGr.PixUsed[pix]); 512 512 end; 513 513 ModelName[mix] := ''; … … 584 584 else 585 585 begin 586 Used := 4 * HGr. pixUsed[TestPic.pix];586 Used := 4 * HGr.PixUsed[TestPic.pix]; 587 587 if HGr = HGrStdUnits then 588 588 Inc(Used, 2); // prefer units not from StdUnits
Note:
See TracChangeset
for help on using the changeset viewer.