Changeset 42 for trunk/Forms/UFormNew.pas
- Timestamp:
- Mar 18, 2014, 12:16:04 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormNew.pas
r41 r42 26 26 CheckBoxVoid: TCheckBox; 27 27 ComboBoxGridType: TComboBox; 28 ComboBoxWinObjective: TComboBox; 28 29 Label1: TLabel; 29 30 Label2: TLabel; … … 31 32 Label4: TLabel; 32 33 Label5: TLabel; 34 Label6: TLabel; 35 Label7: TLabel; 33 36 ListView1: TListView; 34 37 Panel1: TPanel; … … 39 42 SpinEditMapSizeX: TSpinEdit; 40 43 SpinEditMapSizeY: TSpinEdit; 44 SpinEditNeutralUnits: TSpinEdit; 41 45 SpinEditVoidPercent: TSpinEdit; 42 46 Splitter1: TSplitter; … … 228 232 RadioGroupGrowCells.ItemIndex := Integer(Game.GrowCells); 229 233 ComboBoxGridType.ItemIndex := Integer(Game.MapType) - 1; 234 ComboBoxWinObjective.ItemIndex := Integer(Game.WinObjective); 235 SpinEditNeutralUnits.Value := Game.MaxNeutralUnits; 230 236 end; 231 237 … … 250 256 Game.GrowCells := TGrowCells(RadioGroupGrowCells.ItemIndex); 251 257 Game.MapType := TMapType(ComboBoxGridType.ItemIndex + 1); 258 Game.WinObjective := TWinObjective(ComboBoxWinObjective.ItemIndex); 259 Game.MaxNeutralUnits := SpinEditNeutralUnits.Value; 252 260 end; 253 261
Note:
See TracChangeset
for help on using the changeset viewer.