Ignore:
Timestamp:
Dec 9, 2024, 3:42:36 PM (13 days ago)
Author:
chronos
Message:
  • Modified: Board, Tile and History separated from main Game unit.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/FormHistory.pas

    r101 r104  
    5353
    5454procedure TFormHistory.Timer1Timer(Sender: TObject);
     55var
     56  I: Integer;
    5557begin
    5658  if RedrawPending then begin
    57     Core.Core.Game.History.GetStep(Game, TrackBar1.Position);
     59    Game.Assign(Core.Core.Game);
     60    Game.Board.Size := Core.Core.Game.Board.Size;
     61    Game.Skin := Core.Core.Game.Skin;
     62    Game.ColorPalette := Core.Core.Game.ColorPalette;
     63    Game.Replay(Core.Core.Game.History, TrackBar1.Position);
    5864    PaintBox1.Refresh;
    5965    RedrawPending := False;
Note: See TracChangeset for help on using the changeset viewer.