Changeset 99 for trunk/UCore.pas


Ignore:
Timestamp:
Dec 26, 2014, 3:04:52 PM (10 years ago)
Author:
chronos
Message:
  • Modified: Enabled DPI settings for DEBUG build mode.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UCore.pas

    r97 r99  
    355355  CommandLineParams;
    356356
    357   if Game.FileName = '' then begin
    358     Game.New;
    359     Player := Game.Players.GetFirstHuman;
    360     Game.Running := True;
    361     FormMain.AZoomAll.Execute;
    362   end;
    363   {with Core.ScaleDPI1 do begin
     357  with Core.ScaleDPI1 do
     358  if (DesignDPI.X <> DPI.X) or (DesignDPI.Y <> DPI.Y) then begin
    364359    //ApplyToAll(DesignDPI);
    365360    FormNew.Show;
     
    371366    ScaleImageList(Core.ImageListSmall, DesignDPI);
    372367    ScaleImageList(Core.ImageListLarge, DesignDPI);
    373   end;}
     368  end;
     369
     370  if Game.FileName = '' then begin
     371    Game.New;
     372    Player := Game.Players.GetFirstHuman;
     373    Game.Running := True;
     374    FormMain.AZoomAll.Execute;
     375  end;
    374376end;
    375377
Note: See TracChangeset for help on using the changeset viewer.