source: tags/1.4.0/xtactics.lpr

Last change on this file was 409, checked in by chronos, 2 weeks ago

Merged revision(s) 403-408 from trunk:

  • Added: Cover image.
  • Fixed: Crash on cyclic map new move creation.
  • Modified: TView class moved into separate unit.
  • Added: French translation.
  • Fixed: Do not stop running game on Quit action.
  • Fixed: Cell cities were not correctly stored the saved game.
  • Fixed: ItemList references were loaded by item index instead of item id.
  • Fixed: Wrong default map image path initialization.
File size: 763 bytes
Line 
1program xtactics;
2
3uses
4 {$IFDEF UNIX}
5 cthreads, clocale,
6 {$ENDIF}
7 Interfaces, // this includes the LCL widgetset
8 Forms, tachartlazaruspkg, Game, Core, Common, TemplateGenerics
9 { you can add units after this },
10 SysUtils, FormMain, CoolStreaming, Tests, TurnStats, UnitKind,
11 PinConnectionPackage, View;
12
13{$R *.res}
14
15{$if declared(UseHeapTrace)}
16const
17 HeapTraceLog = 'heaptrclog.trc';
18{$ENDIF}
19
20
21begin
22 {$if declared(UseHeapTrace)}
23 // Heap trace
24 DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
25 SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
26 {$ENDIF}
27
28 RequireDerivedFormResource := True;
29 Application.Scaled:=True;
30 Application.Initialize;
31 Application.CreateForm(TCore, Core.Core);
32 Application.Run;
33end.
34
Note: See TracBrowser for help on using the repository browser.