Changeset 337 for trunk/LocalPlayer/IsoEngine.pas
- Timestamp:
- Apr 1, 2021, 9:30:25 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/IsoEngine.pas
r331 r337 57 57 BordersOK: PInteger; 58 58 CitiesPictures: TCitiesPictures; 59 ShowLoc: Boolean; 60 ShowCityNames: Boolean; 61 ShowObjects: Boolean; 62 ShowBorder: Boolean; 63 ShowMyBorder: Boolean; 64 ShowGrWall: Boolean; 65 ShowDebug: Boolean; 66 FoW: Boolean; 59 67 function Connection4(Loc, Mask, Value: integer): integer; 60 68 function Connection8(Loc, Mask: integer): integer; … … 76 84 HGrTerrain: TGraphicSet; 77 85 HGrCities: TGraphicSet; 78 MapOptions: TMapOptions;79 86 pDebugMap: Integer; // -1 for off 80 87 constructor Create; … … 122 129 function IsJungle(y: integer): boolean; 123 130 procedure Init(InitEnemyModelHandler: TInitEnemyModelEvent); 131 132 var 133 MapOptions: TMapOptions; 124 134 125 135 … … 161 171 OnInitEnemyModel: TInitEnemyModelEvent; 162 172 DebugMap: ^TTileList; 163 FoW: Boolean;164 ShowLoc: Boolean;165 ShowCityNames: Boolean;166 ShowObjects: Boolean;167 ShowBorder: Boolean;168 ShowMyBorder: Boolean;169 ShowGrWall: Boolean;170 ShowDebug: Boolean;171 173 IsoMapCache: array[TTileSize] of TIsoMapCache; 172 174 … … 1550 1552 begin 1551 1553 Aix := 0; 1552 bix := 0 1554 bix := 0; 1553 1555 end 1554 1556 else 1555 1557 begin 1556 1558 Aix := 0; 1557 bix := 1 1559 bix := 1; 1558 1560 end 1559 1561 else if bix = -1 then … … 1561 1563 begin 1562 1564 Aix := 1; 1563 bix := 1 1565 bix := 1; 1564 1566 end 1565 1567 else 1566 1568 begin 1567 1569 Aix := 1; 1568 bix := 0 1570 bix := 0; 1569 1571 end; 1570 1572 BitBltBitmap(OceanPatch, x + dx * xxt, y + dy * yyt, xxt, yyt, … … 1603 1605 begin 1604 1606 Aix := fDesert; 1605 bix := fDesert 1607 bix := fDesert; 1606 1608 end 1607 1609 else if Aix = -2 then
Note:
See TracChangeset
for help on using the changeset viewer.