Ignore:
Timestamp:
Oct 13, 2019, 5:14:50 PM (5 years ago)
Author:
chronos
Message:
  • Fixed: Missing UFormHistory files.
  • Added: Allow to disable moves history recording.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.pas

    r35 r36  
    1919    MenuItem3: TMenuItem;
    2020    MenuItem4: TMenuItem;
    21     MenuItem5: TMenuItem;
     21    MenuItemMovesHistory: TMenuItem;
    2222    MenuItemTools: TMenuItem;
    2323    MenuItemNew: TMenuItem;
     
    8888  Core.PersistentForm1.Load(Self);
    8989  UpdateInterface;
     90  if Core.Game.Board.GetEmptyTilesCount > Core.Game.Board.Size.X * Core.Game.Board.Size.Y - 2 then
     91    Core.Game.New;
    9092end;
    9193
     
    108110  ToolsVisible: Boolean;
    109111begin
     112  MenuItemMovesHistory.Visible := Core.Game.RecordHistory;
    110113  ToolsVisible := False;
    111114  for I := 0 to MenuItemTools.Count - 1 do
Note: See TracChangeset for help on using the changeset viewer.