Ignore:
Timestamp:
May 22, 2018, 10:10:54 AM (6 years ago)
Author:
chronos
Message:
  • Added: Show number of captured win objective cells in players stats and graphs.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormCharts.pas

    r189 r208  
    4141  SDiscoveredCells = 'Discovered cells';
    4242  SCitiesCount = 'Cities count';
     43  SWinObjectiveCells = 'Win objective cells';
    4344
    4445
     
    7980      else if ComboBox1.ItemIndex = 1 then NewSeries.AddXY(X, TGameTurnStat(TurnStats[X]).Units)
    8081      else if ComboBox1.ItemIndex = 2 then NewSeries.AddXY(X, TGameTurnStat(TurnStats[X]).DiscoveredCells)
    81       else if ComboBox1.ItemIndex = 3 then NewSeries.AddXY(X, TGameTurnStat(TurnStats[X]).Cities);
     82      else if ComboBox1.ItemIndex = 3 then NewSeries.AddXY(X, TGameTurnStat(TurnStats[X]).Cities)
     83      else if ComboBox1.ItemIndex = 4 then NewSeries.AddXY(X, TGameTurnStat(TurnStats[X]).WinObjectiveCells);
    8284    end;
    8385    Chart1.AddSeries(NewSeries);
     
    9799    Items.Add(SDiscoveredCells);
    98100    Items.Add(SCitiesCount);
     101    Items.Add(SWinObjectiveCells);
    99102    ItemIndex := LastIndex;
    100103  end;
Note: See TracChangeset for help on using the changeset viewer.