Changeset 16 for trunk/UFormMain.pas


Ignore:
Timestamp:
Feb 19, 2014, 11:22:13 PM (11 years ago)
Author:
chronos
Message:
  • Added: Turn counter.
  • Modified: Do not play computer players by human.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UFormMain.pas

    r15 r16  
    9494    RedrawPending := False;
    9595    PaintBox1.Repaint;
    96     Caption := Game.CurrentPlayer.Name + ' - xTactics';
     96    Caption := Game.CurrentPlayer.Name + ' - turn ' + IntToStr(Game.TurnCounter) + ' - xTactics';
    9797  end;
    9898end;
     
    131131  Game.NextTurn;
    132132  Redraw;
     133  while Game.CurrentPlayer.Mode <> pmHuman do begin
     134    Game.NextTurn;
     135    Redraw;
     136  end;
    133137end;
    134138
Note: See TracChangeset for help on using the changeset viewer.