source: trunk/Integrated.lpr@ 487

Last change on this file since 487 was 474, checked in by chronos, 18 months ago
  • Fixed: More high dpi related fixes.
File size: 1.2 KB
RevLine 
[38]1{$INCLUDE Switches.inc}
[9]2program Integrated;
3
4uses
[364]5 {$IFDEF UNIX}
6 cthreads, clocale,
7 {$ENDIF}
[468]8 Interfaces, SysUtils, Protocol, GameServer, Direct, Start, Messg, Inp,
[207]9 Back, Log, LocalPlayer, ClientTools, Tribes, IsoEngine, Term, CityScreen, Nego,
[473]10 NoTerm, ScreenTools, Directories, Global,
[471]11 {$IFDEF DPI}Dpi.Forms{$ELSE}Forms{$ENDIF};
[9]12
[117]13{$if declared(UseHeapTrace)}
[10]14const
15 HeapTraceLog = 'heaptrclog.trc';
16{$ENDIF}
17
[55]18{$R *.res}
19
[9]20begin
[117]21 {$if declared(UseHeapTrace)}
[10]22 // Heap trace
23 DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
24 SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
25 {$ENDIF}
26
[9]27 DotNetClient := nil;
28 Application.Initialize;
[474]29 Application.Title := CevoTitle;
[468]30 Application.TaskBarBehavior := TTaskBarBehavior.tbMultiButton;
[473]31 ScreenTools.LoadConfig(AppRegistryKey);
[189]32 Directories.UnitInit;
[111]33 ScreenTools.UnitInit;
[9]34 Application.CreateForm(TDirectDlg, DirectDlg);
35 Application.CreateForm(TStartDlg, StartDlg);
36 Application.CreateForm(TMessgDlg, MessgDlg);
37 Application.CreateForm(TInputDlg, InputDlg);
38 Application.CreateForm(TBackground, Background);
39 Application.CreateForm(TLogDlg, LogDlg);
40 Application.Run;
[111]41 ScreenTools.UnitDone;
[9]42end.
Note: See TracBrowser for help on using the repository browser.