Changeset 39 for trunk/Forms
- Timestamp:
- Mar 10, 2014, 11:01:14 PM (11 years ago)
- Location:
- trunk/Forms
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.lfm
r35 r39 101 101 Action = Core.AGameEndTurn 102 102 end 103 object MenuItem14: TMenuItem 104 Action = Core.AGameLoad 105 end 106 object MenuItem15: TMenuItem 107 Action = Core.AGameSave 108 end 103 109 object MenuItem5: TMenuItem 104 110 Caption = '-' -
trunk/Forms/UFormMain.pas
r35 r39 27 27 MenuItem12: TMenuItem; 28 28 MenuItem13: TMenuItem; 29 MenuItem14: TMenuItem; 30 MenuItem15: TMenuItem; 29 31 MenuItem2: TMenuItem; 30 32 MenuItem3: TMenuItem; … … 242 244 if Assigned(Cell) then begin 243 245 Core.Game.CurrentPlayer.View.FocusedCell := Cell; 244 StatusBar1.Panels[0].Text := '[' + IntToStr(Cell.Pos.X) + ', ' + IntToStr(Cell.Pos.Y) + '] (' + IntToStr(Cell.MovesFrom.Count) + ', ' + IntToStr(Cell.MovesTo.Count) + ')'; 246 StatusBar1.Panels[0].Text := '[' + IntToStr(Cell.Pos.X) + ', ' + IntToStr(Cell.Pos.Y) + 247 '] (' + IntToStr(Cell.MovesFrom.Count) + ', ' + IntToStr(Cell.MovesTo.Count) + ')'; 245 248 end else begin 246 249 Core.Game.CurrentPlayer.View.FocusedCell := nil; -
trunk/Forms/UFormNew.lfm
r38 r39 35 35 Height = 24 36 36 Top = 276 37 Width = 1 9437 Width = 175 38 38 Caption = 'Inaccessible places' 39 39 OnChange = CheckBoxVoidChange … … 92 92 Height = 22 93 93 Top = 184 94 Width = 9994 Width = 88 95 95 Caption = 'Map width:' 96 96 ParentColor = False … … 139 139 Height = 22 140 140 Top = 277 141 Width = 1 7141 Width = 15 142 142 Caption = '%' 143 143 ParentColor = False … … 173 173 Height = 22 174 174 Top = 232 175 Width = 106175 Width = 94 176 176 Caption = 'Map height:' 177 177 ParentColor = False … … 181 181 Height = 24 182 182 Top = 316 183 Width = 73183 Width = 68 184 184 Caption = 'Cities' 185 185 OnChange = CheckBoxCityChange … … 199 199 Height = 22 200 200 Top = 317 201 Width = 1 7201 Width = 15 202 202 Caption = '%' 203 203 ParentColor = False … … 248 248 TabOrder = 15 249 249 end 250 object ComboBoxGridType: TComboBox 251 Left = 320 252 Height = 32 253 Top = 376 254 Width = 208 255 ItemHeight = 0 256 Items.Strings = ( 257 'Hexagonal' 258 'Square' 259 ) 260 Style = csDropDownList 261 TabOrder = 16 262 end 263 object Label5: TLabel 264 Left = 224 265 Height = 22 266 Top = 376 267 Width = 79 268 Caption = 'Grid type:' 269 ParentColor = False 270 end 250 271 end -
trunk/Forms/UFormNew.lrt
r38 r39 17 17 TFORMNEW.RADIOGROUPGROWAMOUNT.CAPTION=Per turn grow amount 18 18 TFORMNEW.RADIOGROUPGROWCELLS.CAPTION=Growing cells 19 TFORMNEW.LABEL5.CAPTION=Grid type: -
trunk/Forms/UFormNew.pas
r38 r39 21 21 CheckBoxVoid: TCheckBox; 22 22 CheckBoxCity: TCheckBox; 23 ComboBoxGridType: TComboBox; 23 24 Label1: TLabel; 24 25 Label2: TLabel; 25 26 Label3: TLabel; 26 27 Label4: TLabel; 28 Label5: TLabel; 27 29 ListView1: TListView; 28 30 RadioGroupGrowCells: TRadioGroup; … … 194 196 RadioGroupGrowAmount.ItemIndex := Integer(Game.GrowAmount); 195 197 RadioGroupGrowCells.ItemIndex := Integer(Game.GrowCells); 198 ComboBoxGridType.ItemIndex := Integer(Game.MapType) - 1; 196 199 end; 197 200 … … 215 218 Game.GrowAmount := TGrowAmount(RadioGroupGrowAmount.ItemIndex); 216 219 Game.GrowCells := TGrowCells(RadioGroupGrowCells.ItemIndex); 220 Game.MapType := TMapType(ComboBoxGridType.ItemIndex + 1); 217 221 end; 218 222
Note:
See TracChangeset
for help on using the changeset viewer.