Changeset 337 for trunk/Core.pas
- Timestamp:
- Sep 8, 2024, 10:29:37 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Core.pas
r336 r337 16 16 TCore = class(TDataModule) 17 17 AAbout: TAction; 18 AGameSystems: TAction; 18 19 ATests: TAction; 19 20 AFullscreen: TAction; … … 54 55 procedure AGameSaveAsExecute(Sender: TObject); 55 56 procedure AGameSaveExecute(Sender: TObject); 57 procedure AGameSystemsExecute(Sender: TObject); 56 58 procedure AHelpExecute(Sender: TObject); 57 59 procedure ANewSpectatorClientExecute(Sender: TObject); … … 130 132 uses 131 133 FormNew, FormSettings, ClientAI, FormKeyShortcuts, Common, FormEx, FormTests, 132 FormHelp, FormUnitMoves, FormPlayersStats, ClientGUI, FormAbout, Tests; 134 FormHelp, FormUnitMoves, FormPlayersStats, ClientGUI, FormAbout, Tests, 135 FormGameSystems; 133 136 134 137 const … … 406 409 Game.SaveToFile(Game.FileName) 407 410 else AGameSaveAs.Execute; 411 end; 412 413 procedure TCore.AGameSystemsExecute(Sender: TObject); 414 var 415 FormGameSystems: TFormGameSystems; 416 begin 417 FormGameSystems := TFormGameSystems.Create(nil); 418 try 419 FormGameSystems.GameSystems := GameSystems; 420 FormGameSystems.ShowModal; 421 finally 422 FreeAndNil(FormGameSystems); 423 end; 408 424 end; 409 425
Note:
See TracChangeset
for help on using the changeset viewer.