Ignore:
Timestamp:
Mar 10, 2014, 11:01:14 PM (11 years ago)
Author:
chronos
Message:
  • Added: Option to create hexagonal or square map. This is implemented using object inheritance and virtual methods of class TMap.
  • Added: Dummy actions to load and save map.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.pas

    r35 r39  
    2727    MenuItem12: TMenuItem;
    2828    MenuItem13: TMenuItem;
     29    MenuItem14: TMenuItem;
     30    MenuItem15: TMenuItem;
    2931    MenuItem2: TMenuItem;
    3032    MenuItem3: TMenuItem;
     
    242244    if Assigned(Cell) then begin
    243245      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) + ')';
    245248    end else begin
    246249      Core.Game.CurrentPlayer.View.FocusedCell := nil;
Note: See TracChangeset for help on using the changeset viewer.