Ignore:
Timestamp:
May 14, 2018, 5:02:00 PM (6 years ago)
Author:
chronos
Message:
  • Added: Isometric map type.
  • Modified: Removed unneeded explicit typecast for list items.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormNew.pas

    r184 r193  
    125125  SGridTypeTriangle = 'Triangonal';
    126126  SGridTypeVoronoi = 'Voronoi random';
     127  SGridTypeIsometric = 'Isometric';
    127128  SWinObjectiveDefeatAllOponents = 'Defeat all oponents';
    128129  SWinObjectiveDefeatAllCities = 'Defeat all oponents cities';
     
    143144begin
    144145  if (Item.Index >= 0) and (Item.Index < Players.Count) then
    145   with TPlayer(Players[Item.Index]) do begin
     146  with Players[Item.Index] do begin
    146147    Item.Caption := Name;
    147148    Item.Data := Players[Item.Index];
     
    211212    Items.Add(SGridTypeTriangle);
    212213    Items.Add(SGridTypeVoronoi);
     214    Items.Add(SGridTypeIsometric);
    213215    ItemIndex := LastIndex;
    214216  end;
Note: See TracChangeset for help on using the changeset viewer.