Changeset 104 for trunk/Forms
- Timestamp:
- Dec 9, 2024, 3:42:36 PM (6 weeks ago)
- Location:
- trunk/Forms
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormComputer.pas
r88 r104 5 5 uses 6 6 Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, ComCtrls, 7 Game, Generics.Collections, Generics.Defaults, FormEx ;7 Game, Generics.Collections, Generics.Defaults, FormEx, Board; 8 8 9 9 type -
trunk/Forms/FormHistory.pas
r101 r104 53 53 54 54 procedure TFormHistory.Timer1Timer(Sender: TObject); 55 var 56 I: Integer; 55 57 begin 56 58 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); 58 64 PaintBox1.Refresh; 59 65 RedrawPending := False; -
trunk/Forms/FormMain.pas
r103 r104 6 6 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Menus, Math, 7 7 ActnList, ExtCtrls, StdCtrls, Game, PersistentForm, ApplicationInfo, 8 LCLType, Syncobjs, DateUtils, FormEx ;8 LCLType, Syncobjs, DateUtils, FormEx, Board; 9 9 10 10 type
Note:
See TracChangeset
for help on using the changeset viewer.