Ignore:
Timestamp:
Jan 15, 2017, 4:12:10 PM (8 years ago)
Author:
chronos
Message:
  • Modified: All graphics images converted from BMP to PNG.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/CityScreen.pas

    r72 r73  
    1010  Protocol, ClientTools, Term, ScreenTools, IsoEngine, BaseWin,
    1111  LCLIntf, LCLType, Messages, SysUtils, Classes, Graphics, Controls, Forms, ExtCtrls,
    12   ButtonA, ButtonC, Area;
     12  ButtonA, ButtonC, Area, GraphType;
    1313
    1414const
     
    217217  Back.Canvas.FillRect(0, 0, Back.Width, Back.Height);
    218218  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);
    221221  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);
    224224  SmallCityMapTemplate := TBitmap.Create;
    225   LoadGraphicFile(SmallCityMapTemplate, HomeDir + 'Graphics' + DirectorySeparator + 'SmallCityMap',
     225  SmallCityMapTemplate.PixelFormat := pf24bit;
     226  LoadGraphicFile(SmallCityMapTemplate, HomeDir + 'Graphics' + DirectorySeparator + 'SmallCityMap.png',
    226227    gfNoGamma);
    227   SmallCityMapTemplate.PixelFormat := pf24bit;
    228228  SmallCityMap := TBitmap.Create;
    229229  SmallCityMap.PixelFormat := pf24bit;
Note: See TracChangeset for help on using the changeset viewer.