From: fgsfds Date: Thu, 31 Aug 2017 16:44:01 +0000 (+0300) Subject: slightly fixed README X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=5af73370d6483479ea1d7c997878188fa3d47c1c;p=d2df-sdl.git slightly fixed README --- diff --git a/README b/README index 224a8ef..820f823 100644 --- a/README +++ b/README @@ -16,10 +16,11 @@ Requirements: Create the "tmp" and "bin" directories beforehand if they don't exist already. Then run cd src/game -fpc -dUSE_FMOD -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.dpr +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.dpr -If you want SDL_mixer instead of FMOD, replace -dUSE_FMOD with -dUSE_MIXER. +If you want SDL_mixer instead of FMOD, add -dUSE_MIXER. To build a headless (no video/audio, for dedicated servers) executable, add -dHEADLESS. -Add -g -dDEBUG to enable debugging features. +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).