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/UFormNew.pas

    r31 r36  
    1616    ButtonCancel: TButton;
    1717    ButtonOk: TButton;
     18    CheckBoxRecordHistory: TCheckBox;
    1819    CheckBoxUndoEnabled: TCheckBox;
    1920    ComboBoxSize: TComboBox;
     
    6061  ComboBoxSize.ItemIndex := Game.Board.Size.X - 2;
    6162  CheckBoxUndoEnabled.Checked := Game.UndoEnabled;
     63  CheckBoxRecordHistory.Checked := Game.RecordHistory;
    6264end;
    6365
     
    6668  Game.Board.Size := Point(2 + ComboBoxSize.ItemIndex, 2 + ComboBoxSize.ItemIndex);
    6769  Game.UndoEnabled := CheckBoxUndoEnabled.Checked;
     70  Game.RecordHistory := CheckBoxRecordHistory.Checked;
    6871end;
    6972
Note: See TracChangeset for help on using the changeset viewer.