X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2FDoom2DF.dpr;h=97b451e84f61f1d1e2526617dd2b534403a13fe3;hb=7f678ccb6d789d35b562f0d51ed39607ff65d040;hp=18ab86f560c6121986c0726caa8265303ab0fd80;hpb=082b546b38711030b4490facbefa37a331cb1a37;p=d2df-sdl.git diff --git a/src/game/Doom2DF.dpr b/src/game/Doom2DF.dpr index 18ab86f..97b451e 100644 --- a/src/game/Doom2DF.dpr +++ b/src/game/Doom2DF.dpr @@ -89,6 +89,7 @@ uses g_triggers in 'g_triggers.pas', g_weapons in 'g_weapons.pas', g_window in 'g_window.pas', + g_holmes in 'g_holmes.pas', SysUtils, {$IFDEF USE_FMOD} fmod in '../lib/FMOD/fmod.pas', @@ -99,6 +100,7 @@ uses xprofiler in '../shared/xprofiler.pas', binheap in '../shared/binheap.pas', hashtable in '../shared/hashtable.pas', + idpool in '../shared/idpool.pas', BinEditor in '../shared/BinEditor.pas', envvars in '../shared/envvars.pas', g_panel in 'g_panel.pas', @@ -119,11 +121,15 @@ begin for f := 1 to ParamCount do begin if ParamStr(f) = '--gdb' then noct := true - else if ParamStr(f) = '--log' then conbufDumpToStdOut := true; + else if ParamStr(f) = '--log' then conbufDumpToStdOut := true + else if ParamStr(f) = '--safe-log' then e_SetSafeSlowLog(true); end; if noct then + begin Main() + end else + begin try Main(); e_WriteLog('Shutdown with no errors.', MSG_NOTIFY); @@ -133,4 +139,6 @@ begin else e_WriteLog(Format(_lc[I_SYSTEM_ERROR_UNKNOWN], [NativeUInt(ExceptAddr())]), MSG_FATALERROR); end; + end; + e_DeinitLog(); end.