X-Git-Url: https://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=README;h=58c544c0d72694378b2900fa4ce85c70d9309d5e;hp=564013568c004169da4fbfecedad1f231b61076d;hb=HEAD;hpb=b55db3de3f8db2e7d30aec8bd2e54e812ccbd06e diff --git a/README b/README index 5640135..b776de8 100644 --- a/README +++ b/README @@ -14,7 +14,7 @@ Requirements: Create the "tmp" and "bin" directories and then run: cd src/game - fpc -O3 -FE../../bin -FU../../tmp Doom2DF.lpr + fpc -g -gl -O3 -FE../../bin -FU../../tmp Doom2DF.lpr Additionally you can add following options: System driver: @@ -27,7 +27,7 @@ Additionally you can add following options: * -dUSE_GLSTUB Disable rendering Sound driver: * -dUSE_FMOD Build with FMODEx 4.26.x - * -dUSE_SDLMIXER Build with SDL2_mixer 2.0.x + * -dUSE_SDLMIXER Build with SDL_mixer * -dUSE_OPENAL Build with OpenAL 1.1 * -dUSE_SOUNDSTUB Disable sound management Sound file drivers (OpenAL only): @@ -39,14 +39,16 @@ Additionally you can add following options: * -dUSE_XMP Build with linxmp * -dUSE_MPG123 Build with libmpg123 * -dUSE_OPUS Build with libopus + * -dUSE_GME Build with libgme Other: + * -dSDL2_NODPI Build for old libSDL2 * -dUSE_MINIUPNPC Build with libminiupnpc for automatic server port forwarding via UPNP * -dENABLE_HOLMES Build with ingame map debugger * -dHEADLESS Build a headless executable for dedicated servers -Replace -O3 with -g -gl to enable debugging features. Run the game with --gdb -when using a debugger to prevent it from eating exceptions. +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, miniupnpc.dll), unless you choose to static link them. @@ -55,7 +57,7 @@ FMODEx.dll, ENet.dll, miniupnpc.dll), unless you choose to static link them. Static Linking -------------- -See ( http://repo.or.cz/d2df-binlib.git ) repo for prebuild dynamic and static +See ( http://repo.or.cz/d2df-binlib.git ) repo for prebuilt dynamic and static libraries. It is now possible to link windoze LibJIT and ENet as static libs. @@ -65,6 +67,8 @@ Then, you can use: -dLIBJIT_WINDOZE_STATIC -- static LibJIT -dLIBENET_WINDOZE_STATIC -- static ENet -dLIBMINIUPNPC_WINDOZE_STATIC -- static MiniUPNPC + -dVORBIS_WINDOZE_STATIC -- static libogg/libvorbis (only in AL builds) + -dOPUS_WINDOZE_STATIC -- static libogg/libopus (only in AL builds) Don't forget to specify lib*.a location with -Fi<...>