diff --git a/src/game/Doom2DF.lpr b/src/game/Doom2DF.lpr
index 5162d93ca16ec6b53360d46a7fc4774d93719f98..5f707e0d06c7d6a5bd47dd79721715d629367ab4 100644 (file)
--- a/src/game/Doom2DF.lpr
+++ b/src/game/Doom2DF.lpr
-(* Copyright (C) DooM 2D:Forever Developers
+(* Copyright (C) Doom 2D: Forever Developers
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
{$ENDIF}
{$HINTS OFF}
-{$UNDEF XXX}
{$IFDEF USE_SDLMIXER}
- {$DEFINE XXX}
-{$ENDIF}
-{$IFDEF USE_FMOD}
- {$IFDEF XXX}
- {$ERROR define one of USE_SDLMIXER or USE_FMOD}
- {$ELSE}
- {$DEFINE XXX}
+ {$IFDEF USE_FMOD}
+ {$ERROR define only one of USE_SDLMIXER or USE_FMOD}
{$ENDIF}
-{$ENDIF}
-
-{$IFNDEF XXX}
- {$ERROR define USE_SDLMIXER or USE_FMOD}
+{$ELSE}
+ {$UNDEF USE_SDLMIXER}
+ {$DEFINE USE_FMOD}
{$ENDIF}
uses
math,
GL,
GLExt,
+{$IFDEF USE_MINIUPNPC}
+ miniupnpc in '../lib/miniupnpc/miniupnpc.pas',
+{$ENDIF}
SDL2 in '../lib/sdl2/sdl2.pas',
{$IFDEF USE_SDLMIXER}
SDL2_mixer in '../lib/sdl2/SDL2_mixer.pas',
sdlcarcass in '../flexui/sdlcarcass.pas',
//sdlstandalone in '../flexui/sdlstandalone.pas',
+ fui_wadread in '../flexui/fui_wadread.pas',
fui_common in '../flexui/fui_common.pas',
fui_gfx_gl in '../flexui/fui_gfx_gl.pas',
fui_events in '../flexui/fui_events.pas',