Changeset 178 for branches/highdpi/GameServer.pas
- Timestamp:
- Jun 23, 2019, 3:15:29 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/GameServer.pas
r169 r178 7 7 8 8 uses 9 Protocol, Database, dynlibs, Platform, dateutils, fgl, FileUtil, Graphics; 9 Protocol, Database, dynlibs, Platform, dateutils, fgl, FileUtil, Graphics, 10 UDpiControls; 10 11 11 12 const … … 71 72 Initialized: Boolean; 72 73 Kind: TBrainType; 73 Picture: T Bitmap;74 Picture: TDpiBitmap; 74 75 procedure LoadFromFile(AIFileName: string); 75 76 constructor Create; … … 556 557 s: string[255]; 557 558 begin 558 MapFile := TFileStream.Create( GetMapsDir+ DirectorySeparator + FileName,559 MapFile := TFileStream.Create(DataDir + 'Maps' + DirectorySeparator + FileName, 559 560 fmCreate or fmShareExclusive); 560 561 MapFile.Position := 0; … … 579 580 MapFile := nil; 580 581 try 581 MapFile := TFileStream.Create( GetMapsDir+ DirectorySeparator + FileName,582 MapFile := TFileStream.Create(DataDir + 'Maps' + DirectorySeparator + FileName, 582 583 fmOpenRead or fmShareExclusive); 583 584 MapFile.Position := 0;
Note:
See TracChangeset
for help on using the changeset viewer.