Changeset 315 for trunk/UCore.pas
- Timestamp:
- Jun 19, 2024, 11:15:44 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r313 r315 7 7 uses 8 8 Classes, SysUtils, XMLConf, FileUtil, ActnList, Controls, Dialogs, Forms, 9 UGame, UApplicationInfo, UPersistentForm, UScaleDPI, UTranslator, DOM,10 URegistry, ULastOpenedList, UTheme, UAboutDialog, Registry, Menus,9 UGame, ApplicationInfo, PersistentForm, ScaleDPI, Translator, DOM, 10 RegistryEx, LastOpenedList, Theme, Registry, Menus, 11 11 UFormClient, UPlayer, UGameServer, UGameClient, fgl, UServerList, UGameSystem, 12 12 Graphics, UUnit; … … 18 18 TCore = class(TDataModule) 19 19 AAbout: TAction; 20 AboutDialog1: TAboutDialog;21 20 AFullscreen: TAction; 22 21 AToggleFogOfWar: TAction; … … 131 130 132 131 uses 133 UFormMain, UFormNew, UFormSettings, UClientAI, UFormKeyShortcuts, UCommon,134 UFormHelp, UFormCharts, UFormUnitMoves, UFormPlayersStats, UClientGUI ;132 UFormMain, UFormNew, UFormSettings, UClientAI, UFormKeyShortcuts, Common, 133 UFormHelp, UFormCharts, UFormUnitMoves, UFormPlayersStats, UClientGUI, FormAbout; 135 134 136 135 const … … 308 307 309 308 procedure TCore.AAboutExecute(Sender: TObject); 310 begin 311 AboutDialog1.Show; 309 var 310 FormAbout: TFormAbout; 311 begin 312 FormAbout := TFormAbout.Create(nil); 313 try 314 FormAbout.ApplicationInfo := ApplicationInfo; 315 FormAbout.ShowModal; 316 finally 317 FormAbout.Free; 318 end; 312 319 end; 313 320 … … 471 478 CoolTranslator1.POFilesFolder := LinuxLanguagesDir; 472 479 {$ENDIF} 473 480 474 481 GameSystems := TGameSystems.Create; 475 482 Server := TServer.Create;
Note:
See TracChangeset
for help on using the changeset viewer.