Changeset 321 for trunk/LocalPlayer/IsoEngine.pas
- Timestamp:
- Mar 22, 2021, 10:51:43 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/IsoEngine.pas
r318 r321 77 77 function IsJungle(y: integer): boolean; 78 78 procedure Init(InitEnemyModelHandler: TInitEnemyModelEvent); 79 function ApplyTileSize( xxtNew, yytNew: integer): boolean;79 function ApplyTileSize(ATileSize: TTileSize): boolean; 80 80 procedure Done; 81 81 procedure Reset; … … 137 137 end; 138 138 139 function ApplyTileSize( xxtNew, yytNew: integer): boolean;139 function ApplyTileSize(ATileSize: TTileSize): boolean; 140 140 var 141 141 i: Integer; … … 151 151 MaskLine: array [0 .. 50 * 3 - 1] of TPixelPointer; // 32 = assumed maximum for yyt 152 152 Border: boolean; 153 begin 153 xxtNew: Integer; 154 yytNew: Integer; 155 begin 156 xxtNew := TileSizes[ATileSize].X; 157 yytNew := TileSizes[ATileSize].Y; 154 158 result := false; 155 159 HGrTerrainNew := LoadGraphicSet(Format('Terrain%dx%d.png', … … 163 167 xxt := xxtNew; 164 168 yyt := yytNew; 169 TileSize := ATileSize; 165 170 HGrTerrain := HGrTerrainNew; 166 171 HGrCities := HGrCitiesNew;
Note:
See TracChangeset
for help on using the changeset viewer.