Ignore:
Timestamp:
May 16, 2018, 11:03:48 AM (6 years ago)
Author:
chronos
Message:
  • Added: Evaluate win objection to stay alive for defined number of turns. Multiple players can win.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormNew.pas

    r196 r197  
    4545    Label11: TLabel;
    4646    Label12: TLabel;
     47    Label13: TLabel;
    4748    Label2: TLabel;
    4849    Label3: TLabel;
     
    7273    RadioGroupGrowAmount: TRadioGroup;
    7374    RadioGroupGrowCells: TRadioGroup;
     75    SpinEditTurns: TSpinEdit;
    7476    SpinEditMaxPower: TSpinEdit;
    7577    SpinEditServerPort: TSpinEdit;
     
    501503    SpinEditServerPort.Value := LocalNetworkPort;
    502504    SpinEditMaxPower.Value := Game.MaxPower;
     505    SpinEditTurns.Value := Game.StayAliveForDefinedTurns;
    503506  end;
    504507end;
     
    536539    Game.BridgeEnabled := CheckBoxBridges.Checked;
    537540    Game.MaxPower := SpinEditMaxPower.Value;
     541    Game.StayAliveForDefinedTurns := SpinEditTurns.Value;
    538542  end;
    539543end;
Note: See TracChangeset for help on using the changeset viewer.