move source dehacked to dedicated subdirectory

This commit is contained in:
Mike Swanson 2019-09-01 17:53:55 -07:00
parent 8e9ce31b70
commit 53b4133b20
6 changed files with 28 additions and 14 deletions

View file

@ -1,12 +0,0 @@
CPP=../scripts/simplecpp
all: fdm_deh.lmp p1_deh.lmp p2_deh.lmp
fdm_deh.lmp: dehacked.lmp
$(CPP) -DFREEDM < $< > $@
p1_deh.lmp: dehacked.lmp
$(CPP) -DPHASE1 < $< > $@
p2_deh.lmp: dehacked.lmp
$(CPP) -DPHASE2 < $< > $@

15
lumps/dehacked/Makefile Normal file
View file

@ -0,0 +1,15 @@
CPP=../../scripts/simplecpp
all: ../fdm_deh.lmp ../p1_deh.lmp ../p2_deh.lmp
../fdm_deh.lmp: dehacked.txt
$(CPP) -DFREEDM < $< > $@
../p1_deh.lmp: dehacked.txt
$(CPP) -DPHASE1 < $< > $@
../p2_deh.lmp: dehacked.txt
$(CPP) -DPHASE2 < $< > $@
clean:
$(RM) ../fdm_deh.lmp ../p1_deh.lmp ../p2_deh.lmp

10
lumps/dehacked/README Normal file
View file

@ -0,0 +1,10 @@
This directory contains the source DeHackEd patch used for Freedoom.
We generate three unique files for each IWAD, most of the data being
identical to each other.
- FreeDM has all par times set to 0 and the map names would otherwise
override Phase 2.
- We override the no-clipping cheat in Phase 1 so IDCLIP is used in
all games.
- Phase 2 has map names that would otherwise override FreeDM.