Changeset 330 for trunk/LocalPlayer/CityScreen.pas
- Timestamp:
- Mar 26, 2021, 2:16:04 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/CityScreen.pas
r328 r330 407 407 rare: boolean; 408 408 begin 409 with AreaMap do begin 409 410 if Server(sGetCityTileInfo, me, Loc, TileInfo) <> eOk then 410 411 begin … … 442 443 Sprite(offscreen, HGrSystem, x + xxt - 5 + d * (2 * i + 1 - Total), 443 444 y + yyt - 5, 10, 10, xGr, yGr); 445 end; 444 446 end; 445 447 end; … … 593 595 end; 594 596 597 with AreaMap do begin 595 598 rx := (192 + xxt * 2 - 1) div (xxt * 2); 596 599 ry := (96 + yyt * 2 - 1) div (yyt * 2); … … 619 622 Loc1, (dx = 0) and (dy = 0)); 620 623 end; 624 end; 621 625 622 626 if Report.Working > 1 then … … 930 934 y := ((Cnt - 6 * Page) div 3) * 52 + yZoomMap + 20; 931 935 MakeUnitInfo(me, MyUn[i], UnitInfo); 932 NoMap.SetOutput(offscreen);933 NoMap.PaintUnit(x, y, UnitInfo, MyUn[i].Status);936 AreaMap.SetOutput(offscreen); 937 AreaMap.PaintUnit(x, y, UnitInfo, MyUn[i].Status); 934 938 935 939 for j := 0 to UnitReport.FoodSupport - 1 do … … 1317 1321 else if (x >= xmArea - 192) and (x < xmArea + 192) and (y >= ymArea - 96) 1318 1322 and (y < ymArea + 96) then 1323 with AreaMap do 1319 1324 begin 1320 1325 qx := ((4000 * xxt * yyt) + (x - xmArea) * (yyt * 2) + (y - ymArea + yyt)
Note:
See TracChangeset
for help on using the changeset viewer.