program tunneler; {$mode delphi}{$H+} uses {$IFDEF UNIX} cthreads, clocale, {$ENDIF} Interfaces, // this includes the LCL widgetset Forms, TemplateGenerics, Platform, FileUtil, SysUtils, Common, FormNewGame, FormMain, FormMap, FormGameResult, Core, World, Matter, FastPixel, Sound, AsyncProcess2, UITypes2 { you can add units after this }; {$R *.res} {$if declared(UseHeapTrace)} const HeapTraceLog = 'heaptrclog.trc'; {$ENDIF} begin {$if declared(UseHeapTrace)} // Heap trace DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog); SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog); {$ENDIF} Application.Title:=''; Application.Scaled:=True; Application.Initialize; Application.CreateForm(TCore, Core.Core); Application.CreateForm(TFormMain, FormMain.FormMain); {$IFDEF DEBUG} {$ENDIF} Application.Run; end.