X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=README;h=69b7baeee6fc8f69d14a4884bf071672e9bf66fc;hb=6cb71253f6184abde0041f8d9e7da94fdbf75344;hp=478775a0e8ae7a3b718501df3032c04ad203716d;hpb=fc692e6779ebf28c181f1933333cdaf921c1faba;p=d2df-sdl.git diff --git a/README b/README index 478775a..69b7bae 100644 --- a/README +++ b/README @@ -1,14 +1,14 @@ D2DF-SDL --------- -Doom 2D Forever (https://github.com/pss88/DF) adapted for use with the FreePascal Compiler +Doom 2D Forever ( http://repo.or.cz/d2df-sdl.git ) adapted for use with the FreePascal Compiler and ported to SDL 2.0. Building --------- Requirements: -* FPC >= 3.0.0; +* FPC >= 3.0.2; * FMODEx >= 4.26.xx or SDL_mixer >= 2.0; * libenet >= 1.3.13; * SDL >= 2.0. @@ -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.lpr -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).