Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Aug 28, 2015
1 parent 97611ee commit 65c435f
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile.prboomdata
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,11 @@ LUMPS = data/lumps/switches.lmp data/lumps/animated.lmp data/lumps/crbrick.lmp \
data/lumps/crblue.lmp data/lumps/crblue2.lmp data/lumps/crorange.lmp \
data/lumps/cryellow.lmp
COLORMAPS = data/lumps/watermap.lmp
TABLES = data/lumps/sinetabl.lmp data/lumps/tangtabl.lmp data/lumps/tantoang.lmp \
data/lumps/gammatbl.lmp
TABLES = data/lumps/sinetabl.lmp \
data/lumps/tangtabl.lmp \
data/lumps/tantoang.lmp \
data/lumps/gammatbl.lmp \
data/lumps/bfgdeh.lmp
GRAPHICS = data/graphics/dig0.ppm data/graphics/dig1.ppm data/graphics/dig2.ppm \
data/graphics/dig3.ppm data/graphics/dig4.ppm data/graphics/dig5.ppm \
data/graphics/dig6.ppm data/graphics/dig7.ppm data/graphics/dig8.ppm \
Expand Down
12 changes: 12 additions & 0 deletions data/lumps/bfgdeh.lmp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Patch File for DeHackEd v3.0

# Note: Use the pound sign ('#') to start comment lines.

Doom version = 19
Patch format = 6

Text 21 15
level 31: wolfensteinlevel 31: idkfa

Text 16 14
level 32: grosselevel 32: keen
1 change: 1 addition & 0 deletions data/prboom.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ SINETABL
TANGTABL
TANTOANG
GAMMATBL
BFGDEH
B_END

# List of Sounds
Expand Down
Binary file removed prboom.wad
Binary file not shown.
9 changes: 9 additions & 0 deletions src/d_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1277,6 +1277,15 @@ void D_DoomMainSetup(void)
|| lumpinfo[p].source == source_auto_load)
ProcessDehFile(NULL, D_dehout(), p); // cph - add dehacked-in-a-wad support

if (bfgedition)
{
int lump = (W_CheckNumForName)("BFGDEH", ns_prboom);
if (lump != -1)
{
ProcessDehFile(NULL, D_dehout(), lump);
}
}

if (!M_CheckParm("-noload")) {
// now do autoloaded dehacked patches, after IWAD patches but before PWAD
int i;
Expand Down

0 comments on commit 65c435f

Please sign in to comment.