Ignore:
Timestamp:
Sep 15, 2024, 1:31:30 PM (2 months ago)
Author:
chronos
Message:
  • Fixed: City screen rename right mouse click didn't work on Windows due to window title are. Change to behave the same way as on Linux.
  • Fixed: Allow full screen switching in editor and movie mode.
  • Modified: Precalculate scaling coefficients also for from native values conversions for faster speed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Term.pas

    r616 r617  
    70927092  ShortCut := KeyToShortCut(Key, Shift);
    70937093
     7094  if BFullScreen.Test(ShortCut) then begin
     7095    FullScreen := not FullScreen;
     7096    SetFullScreen(FullScreen);
     7097  end;
     7098
    70947099  if GameMode = cMovie then begin
    70957100    if BScienceStat.Test(ShortCut) then MenuClick_Check(StatPopup, mScienceStat)
     
    71077112    else if BFillMap.Test(ShortCut) then mFillMap.Click
    71087113    else if BHelp.Test(ShortCut) then mHelp.Click;
    7109     (*if Shift = [ssCtrl] then
    7110       case Char(Key) of
    7111          'A':
    7112           begin // auto symmetry
    7113           Server($7F0,Me,0,nil^);
    7114           MapValid:=False;
    7115           PaintAll;
    7116           end;
    7117           'B':
    7118           begin // land mass
    7119           dy:=0;
    7120           for dx:=G.lx to G.lx*(G.ly-1)-1 do
    7121           if MyMap[dx] and fTerrain>=fGrass then Inc(dy);
    7122           dy:=dy
    7123           end;
    7124       end;
    7125     *)
    71267114    Exit;
    71277115  end;
    71287116
    71297117  if BEndTurn.Test(ShortCut) then EndTurn
    7130   else if BFullScreen.Test(ShortCut) then begin
    7131     FullScreen := not FullScreen;
    7132     SetFullScreen(FullScreen);
    7133   end
    71347118  else if BHelp.Test(ShortCut) then mHelp.Click
    71357119  else if BUnitStat.Test(ShortCut) then MenuClick_Check(StatPopup, mUnitStat)
Note: See TracChangeset for help on using the changeset viewer.