1 | {$INCLUDE Switches.inc}
|
---|
2 | program Integrated;
|
---|
3 |
|
---|
4 | uses
|
---|
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)}
|
---|
10 | const
|
---|
11 | HeapTraceLog = 'heaptrclog.trc';
|
---|
12 | {$ENDIF}
|
---|
13 |
|
---|
14 | {$R *.res}
|
---|
15 |
|
---|
16 | begin
|
---|
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;
|
---|
36 | end.
|
---|