Changeset 327 for trunk/UMiniMap.pas
- Timestamp:
- Mar 25, 2021, 2:09:42 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UMiniMap.pas
r326 r327 5 5 6 6 uses 7 Classes, SysUtils, Graphics, Protocol ;7 Classes, SysUtils, Graphics, Protocol, ClientTools; 8 8 9 9 type … … 22 22 Colors: array [0 .. 11, 0 .. 1] of TColor; 23 23 Mode: TMiniMode; 24 Options: Integer;24 MapOptions: TMapOptions; 25 25 procedure LoadFromLogFile(FileName: string; var LastTurn: Integer; DefaultSize: TPoint); 26 26 procedure LoadFromMapFile(FileName: string; var nMapLandTiles, nMapStartPositions: Integer); … … 37 37 38 38 uses 39 ScreenTools, UPixelPointer, Global, GameServer, IsoEngine, Tribes , ClientTools;39 ScreenTools, UPixelPointer, Global, GameServer, IsoEngine, Tribes; 40 40 41 41 const … … 310 310 cm := $808080 or cm shr 1; { increase brightness } 311 311 end 312 else if Options and (1 shl moPolitical) <> 0then begin312 else if moPolitical in MapOptions then begin 313 313 // Political 314 314 if MyMap[Loc] and fTerrain < fGrass then
Note:
See TracChangeset
for help on using the changeset viewer.