DEADSOFTWARE

added README
authorfgsfds <pvt.fgsfds@gmail.com>
Fri, 18 Aug 2017 13:44:15 +0000 (16:44 +0300)
committerfgsfds <pvt.fgsfds@gmail.com>
Fri, 18 Aug 2017 13:44:15 +0000 (16:44 +0300)
README [new file with mode: 0644]
build.bat [deleted file]
build_headless.bat [deleted file]
clean.bat [deleted file]

diff --git a/README b/README
new file mode 100644 (file)
index 0000000..478775a
--- /dev/null
+++ b/README
@@ -0,0 +1,25 @@
+D2DF-SDL
+---------
+
+Doom 2D Forever (https://github.com/pss88/DF) adapted for use with the FreePascal Compiler
+and ported to SDL 2.0.
+
+Building
+---------
+
+Requirements:
+* FPC >= 3.0.0;
+* FMODEx >= 4.26.xx or SDL_mixer >= 2.0;
+* libenet >= 1.3.13;
+* SDL >= 2.0.
+
+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
+
+If you want SDL_mixer instead of FMOD, replace -dUSE_FMOD with -dUSE_MIXER.
+To build a headless (no video/audio, for dedicated servers) executable, add -dHEADLESS.
+Add -g -dDEBUG to enable debugging features.
+
+Windows binaries will require the appropriate DLLs (SDL2.dll, SDL2_mixer.dll or FMODEx.dll, ENet.dll).
diff --git a/build.bat b/build.bat
deleted file mode 100644 (file)
index a0b001a..0000000
--- a/build.bat
+++ /dev/null
@@ -1,4 +0,0 @@
-@echo off
-cd "./src/game"
-fpc -dUSE_FMOD -MDELPHI -O2 -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
-cd "../.."
diff --git a/build_headless.bat b/build_headless.bat
deleted file mode 100644 (file)
index fb27ef2..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-@echo off
-cd "./src/game"
-fpc -dUSE_FMOD -dHEADLESS -MDELPHI -O2 -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 -oDoom2DF_H.exe Doom2DF.dpr
-cd "../.."
diff --git a/clean.bat b/clean.bat
deleted file mode 100644 (file)
index a9c92ee..0000000
--- a/clean.bat
+++ /dev/null
@@ -1,13 +0,0 @@
-@echo off
-del /S "tmp\*.res"
-del /S *.~*
-del /S *.dcu
-del /S *.ddp
-del /S *.o
-del /S *.ppu
-del /S *.a
-del /S *.or
-del /S *.rsj
-del /S *.lps
-del "src\game\CustomRes.obj"
-del "src\game\*.exe"