diff --git a/src/game/Doom2DF.lpr b/src/game/Doom2DF.lpr
index 4aecd4026ac048917850dca9611028047d7a74df..a93c9bb4a3cd5733d3d633b31badece02122ac43 100644 (file)
--- a/src/game/Doom2DF.lpr
+++ b/src/game/Doom2DF.lpr
{$ENDIF}
{$ENDIF}
+ {$IFDEF ENABLE_MENU}
+ g_gui in 'g_gui.pas',
+ g_menu in 'g_menu.pas',
+ {$ENDIF}
+
{$IFDEF ENABLE_RENDER}
{$I ../shared/vampimg.inc}
r_animations in 'opengl/r_animations.pas',
r_touch in 'opengl/r_touch.pas',
{$ENDIF}
{$IFDEF ENABLE_MENU}
- g_gui in 'g_gui.pas',
- g_menu in 'g_menu.pas',
+ r_gui in 'opengl/r_gui.pas',
{$ENDIF}
{$ENDIF}
begin
itmp := 0;
val(ParamStr(idx), itmp, valres);
- {$IFNDEF HEADLESS}
if (valres = 0) and (not g_holmes_imfunctional) then
begin
case itmp of
16: uiContext.font := 'win16';
end;
end;
- {$ELSE}
- // fuck off, fpc!
- itmp := itmp;
- valres := valres;
- {$ENDIF}
Inc(idx);
end;
end;
g_Game_Init;
{$IFDEF ENABLE_MENU}
g_Menu_Init;
- g_GUI_Init;
{$ENDIF}
g_Game_Process_Params;
// TODO reload GAME textures