Ignore:
Timestamp:
Sep 28, 2014, 6:04:57 PM (10 years ago)
Author:
chronos
Message:
  • Added: Support for symetric map usable for two players game.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormNew.pas

    r55 r70  
    2323    ButtonPlayerModify: TButton;
    2424    ButtonPlayerRemove: TButton;
     25    CheckBoxSymetricMap: TCheckBox;
    2526    CheckBoxCity: TCheckBox;
    2627    CheckBoxVoid: TCheckBox;
     
    271272  NewItem: TListItem;
    272273begin
     274  CheckBoxSymetricMap.Checked := Game.SymetricMap;
    273275  CheckBoxVoid.Checked := Game.VoidEnabled;
    274276  SpinEditVoidPercent.Value := Game.VoidPercentage;
     
    306308    TPlayer(Game.Players[I]).Game := Game;
    307309  end;
     310  Game.SymetricMap := CheckBoxSymetricMap.Checked;
    308311  Game.VoidEnabled := CheckBoxVoid.Checked;
    309312  Game.VoidPercentage := SpinEditVoidPercent.Value;
Note: See TracChangeset for help on using the changeset viewer.