Changeset 73 for trunk/LocalPlayer/CityScreen.pas
- Timestamp:
- Jan 15, 2017, 4:12:10 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/CityScreen.pas
r72 r73 10 10 Protocol, ClientTools, Term, ScreenTools, IsoEngine, BaseWin, 11 11 LCLIntf, LCLType, Messages, SysUtils, Classes, Graphics, Controls, Forms, ExtCtrls, 12 ButtonA, ButtonC, Area ;12 ButtonA, ButtonC, Area, GraphType; 13 13 14 14 const … … 217 217 Back.Canvas.FillRect(0, 0, Back.Width, Back.Height); 218 218 Template := TBitmap.Create; 219 LoadGraphicFile(Template, HomeDir + 'Graphics' + DirectorySeparator + 'City', gfNoGamma);220 Template.PixelFormat := pf8bit;219 Template.PixelFormat := pf24bit; 220 LoadGraphicFile(Template, HomeDir + 'Graphics' + DirectorySeparator + 'City.png', gfNoGamma); 221 221 CityMapTemplate := TBitmap.Create; 222 LoadGraphicFile(CityMapTemplate, HomeDir + 'Graphics' + DirectorySeparator + 'BigCityMap', gfNoGamma);223 CityMapTemplate.PixelFormat := pf8bit;222 CityMapTemplate.PixelFormat := pf24bit; 223 LoadGraphicFile(CityMapTemplate, HomeDir + 'Graphics' + DirectorySeparator + 'BigCityMap.png', gfNoGamma); 224 224 SmallCityMapTemplate := TBitmap.Create; 225 LoadGraphicFile(SmallCityMapTemplate, HomeDir + 'Graphics' + DirectorySeparator + 'SmallCityMap', 225 SmallCityMapTemplate.PixelFormat := pf24bit; 226 LoadGraphicFile(SmallCityMapTemplate, HomeDir + 'Graphics' + DirectorySeparator + 'SmallCityMap.png', 226 227 gfNoGamma); 227 SmallCityMapTemplate.PixelFormat := pf24bit;228 228 SmallCityMap := TBitmap.Create; 229 229 SmallCityMap.PixelFormat := pf24bit;
Note:
See TracChangeset
for help on using the changeset viewer.