Ignore:
Timestamp:
Feb 3, 2019, 8:32:20 PM (6 years ago)
Author:
chronos
Message:
  • Added: Keep information about available unit moves during turn.
  • Added: Allow to move units instantly during turn.
  • Added: Game system parameter to play without possibility to merge/split units.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMove.pas

    r272 r274  
    4848    AttackCount: Integer;
    4949    ShowWinProbability: Boolean;
     50    AllowChangeOnce: Boolean;
    5051    procedure UpdateView;
    5152  end;
     
    102103    SpinEditRepeat.SetFocus;
    103104  end else begin
    104     SpinEditOnce.Enabled := True;
    105     TrackBarOnce.Enabled := True;
    106     SpinEditOnce.SetFocus;
     105    SpinEditOnce.Enabled := AllowChangeOnce;
     106    TrackBarOnce.Enabled := AllowChangeOnce;
     107    ButtonOnceMax.Enabled := AllowChangeOnce;
     108    ButtonOnceMin.Enabled := AllowChangeOnce;
     109    if SpinEditOnce.Enabled then SpinEditOnce.SetFocus
     110    else if SpinEditRepeat.Enabled then SpinEditRepeat.SetFocus
     111    else ButtonOk.SetFocus;
    107112  end;
    108113  UpdateView;
Note: See TracChangeset for help on using the changeset viewer.