dehacked: run through simplecpp, cheat replacements for Phase 1 only

Deduplicates effort from copying between multiple patch files, and we
now have unique outputs for each of our IWADs.

Having just "No Clipping 1 = idclip" proved to be troublesome with at
least prboom-plus, the engine running its cheat detecting twice and
becoming unable to activate no-clipping mode.  Worked around it by
also defining "No Clipping 2 = idspispopd", restoring that cheat's
functionality in most source ports and keeping both variants unique.
Chocolate Doom will only use the "idclip" version.
This commit is contained in:
Mike Swanson 2019-09-01 17:25:15 -07:00
parent d4c5b3ab48
commit 8e9ce31b70
7 changed files with 104 additions and 449 deletions

View file

@ -234,7 +234,7 @@ def update_level_name(lumpname, bexdata, bexname):
levelname = re.sub('^\w*\d:\s*', '', bexdata[bexname])
white_graphics[lumpname] = levelname
freedoom_bex = read_bex_lump('../../lumps/dehacked.lmp')
freedoom_bex = read_bex_lump('../../lumps/p2_deh.lmp')
freedm_bex = read_bex_lump('../../lumps/fdm_deh.lmp')
for e in range(4):