source: tags/1.3.0/Integrated.lpr

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