source: tags/1.2.0/Integrated.lpr

Last change on this file was 207, checked in by chronos, 4 years ago
  • Fixed: Removed more compiler hints and warnings.
File size: 1.0 KB
Line 
1{$INCLUDE Switches.inc}
2program Integrated;
3
4uses
5 Forms, Interfaces, SysUtils, Protocol, GameServer, Direct, Start, Messg, Inp,
6 Back, Log, LocalPlayer, ClientTools, Tribes, IsoEngine, Term, CityScreen, Nego,
7 NoTerm, ScreenTools, Directories;
8
9{$if declared(UseHeapTrace)}
10const
11 HeapTraceLog = 'heaptrclog.trc';
12{$ENDIF}
13
14{$R *.res}
15
16begin
17 {$if declared(UseHeapTrace)}
18 // Heap trace
19 DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
20 SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
21 {$ENDIF}
22
23 DotNetClient := nil;
24 Application.Initialize;
25 Application.Title := 'c-evo';
26 Directories.UnitInit;
27 ScreenTools.UnitInit;
28 Application.CreateForm(TDirectDlg, DirectDlg);
29 Application.CreateForm(TStartDlg, StartDlg);
30 Application.CreateForm(TMessgDlg, MessgDlg);
31 Application.CreateForm(TInputDlg, InputDlg);
32 Application.CreateForm(TBackground, Background);
33 Application.CreateForm(TLogDlg, LogDlg);
34 Application.Run;
35 ScreenTools.UnitDone;
36end.
Note: See TracBrowser for help on using the repository browser.