Ignore:
Timestamp:
Jun 10, 2018, 12:18:28 PM (6 years ago)
Author:
chronos
Message:
  • Added: Allow to toggle Fog of war in debug mode from Debug menu.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.pas

    r207 r220  
    4444    MenuItem28: TMenuItem;
    4545    MenuItem29: TMenuItem;
     46    MenuItemDebug: TMenuItem;
     47    MenuItem31: TMenuItem;
    4648    MenuItem4: TMenuItem;
    4749    MenuItemLoadRecent: TMenuItem;
     
    149151  FormClient.ManualDock(PanelMain, nil, alClient);
    150152  FormClient.Align := alClient;
     153  {$IFDEF DEBUG}
     154  MenuItemDebug.Visible := True;
     155  MenuItemDebug.Enabled := True;
     156  {$ELSE}
     157  MenuItemDebug.Visible := False;
     158  MenuItemDebug.Enabled := False;
     159  {$ENDIF}
    151160end;
    152161
Note: See TracChangeset for help on using the changeset viewer.