diff --git a/src/game/Doom2DF.dpr b/src/game/Doom2DF.dpr
index a9044fb9d614cff917282b7baa15a337246458a7..17f17b77fb2922dff852b8e48a958e8a61ca4ecf 100644 (file)
--- a/src/game/Doom2DF.dpr
+++ b/src/game/Doom2DF.dpr
g_language in 'g_language.pas',
ImagingTypes,
Imaging,
- ImagingUtility;
+ ImagingUtility,
+ lua in '../lib/lua/lua.pas',
+ lualib in '../lib/lua/lualib.pas',
+ lauxlib in '../lib/lua/lauxlib.pas';
{$IFDEF WINDOWS}
{$R *.res}
f: Integer;
noct: Boolean = false;
begin
- for f := 1 to ParamCount do if ParamStr(f) = '--gdb' then noct := true;
+ for f := 1 to ParamCount do
+ begin
+ if ParamStr(f) = '--gdb' then noct := true
+ else if ParamStr(f) = '--log' then conbufDumpToStdOut := true;
+ end;
if noct then
Main()
else