index 744360afb9edf41f143da6f98773217f56e45249..c8ab1625a9eb0e2f627d56852e0304a5bf872353 100644 (file)
--- a/README
+++ b/README
@@ -18,12 +18,16 @@ Create the "tmp" and "bin" directories beforehand if they don't exist already. T
cd src/game
fpc -O3 -Fi../lib/vampimg -Fi../lib/vampimg/JpegLib -Fi../lib/vampimg/ZLib -Fu../lib/vampimg -Fu../lib/vampimg/JpegLib -Fu../lib/vampimg/ZLib -FE../../bin -FU../../tmp Doom2DF.lpr
-If you want SDL_mixer instead of FMOD, add -dUSE_MIXER.
+If you want SDL_mixer instead of FMOD, add -dUSE_SDLMIXER.
+If you want the server to be able to forward ports via UPNP, add -dUSE_MINIUPNPC.
+If you want to debug game with Holmes, add -dENABLE_HOLMES (not supported in GLES mode).
+If you want to render graphics using OpenGL ES, add -dUSE_GLES1.
To build a headless (no video/audio, for dedicated servers) executable, add -dHEADLESS.
Replace -O3 with -g -gl to enable debugging features. Run the game with --gdb when using a debugger to
prevent it from eating exceptions.
-Windows binaries will require the appropriate DLLs (SDL2.dll, SDL2_mixer.dll or FMODEx.dll, ENet.dll).
+Windows binaries will require the appropriate DLLs (SDL2.dll, SDL2_mixer.dll or FMODEx.dll, ENet.dll, miniupnpc.dll),
+unless you choose to static link them (see below).
Static Linking
First, you need to clone ( http://repo.or.cz/d2df-binlib.git ) (repo with prebuilt windoze libs).
Then, you can use:
- -dLIBJIT_WINDOZE_STATIC -- static LibJIT
- -dLIBENET_WINDOZE_STATIC -- static ENet
+ -dLIBJIT_WINDOZE_STATIC -- static LibJIT
+ -dLIBENET_WINDOZE_STATIC -- static ENet
+ -dLIBMINIUPNPC_WINDOZE_STATIC -- static MiniUPNPC
Don't forget to specify lib*.a location with -Fi<...>