| Line | |
|---|
| 1 | program TransLines;
|
|---|
| 2 |
|
|---|
| 3 | {$mode objfpc}{$H+}
|
|---|
| 4 |
|
|---|
| 5 | uses
|
|---|
| 6 | {$IFDEF UNIX}
|
|---|
| 7 | cthreads, clocale,
|
|---|
| 8 | {$ENDIF}
|
|---|
| 9 | Interfaces, // this includes the LCL widgetset
|
|---|
| 10 | Forms, SysUtils, FormMain, FormImages, CommonPackage,
|
|---|
| 11 | Menu, BasicControls, MetroPassenger, Colors, View, River, City, Core,
|
|---|
| 12 | TestCases, Items, Scene, SceneGameSlots;
|
|---|
| 13 |
|
|---|
| 14 | {$R *.res}
|
|---|
| 15 |
|
|---|
| 16 | {$if declared(UseHeapTrace)}
|
|---|
| 17 | const
|
|---|
| 18 | HeapTraceLog = 'heaptrclog.trc';
|
|---|
| 19 | {$ENDIF}
|
|---|
| 20 |
|
|---|
| 21 | begin
|
|---|
| 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;
|
|---|
| 33 | end.
|
|---|
| 34 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.