close Warning: Can't synchronize with repository "(default)" (No changeset 184 in the repository). Look in the Trac log for more information.

source: tags/1.1.0/xtactics.lpr

Last change on this file was 128, checked in by chronos, 7 years ago
  • Added: Graph window can be shown from menu which presents development of various statistic values during game turns.
File size: 1.0 KB
Line 
1program xtactics;
2
3{$mode objfpc}{$H+}
4
5uses
6 {$IFDEF UNIX}
7 cthreads, clocale,
8 {$ENDIF}
9 Interfaces, // this includes the LCL widgetset
10 Forms, tachartlazaruspkg, UGame, UCore, Common, CoolTranslator,
11 TemplateGenerics, UFormPlayer
12 { you can add units after this },
13 SysUtils, UFormSettings, UFormMain, UFormMove, UFormNew, UFormAbout,
14 UFormHelp, UMap, UFormCharts;
15
16{$R *.res}
17
18{$IFDEF DEBUG}
19const
20 HeapTraceLog = 'heaptrclog.trc';
21{$ENDIF}
22
23
24begin
25 {$IFDEF DEBUG}
26 // Heap trace
27 DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
28 SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
29 {$ENDIF}
30
31 RequireDerivedFormResource := True;
32 Application.Initialize;
33 Application.CreateForm(TCore, Core);
34 Application.CreateForm(TFormMain, FormMain);
35 Application.CreateForm(TFormNew, FormNew);
36 Application.CreateForm(TFormMove, FormMove);
37 Application.CreateForm(TFormPlayer, FormPlayer);
38 Application.CreateForm(TFormSettings, FormSettings);
39 Application.CreateForm(TFormCharts, FormCharts);
40 Application.Run;
41end.
42
Note: See TracBrowser for help on using the repository browser.