summaryrefslogtreecommitdiff
path: root/src/doom
diff options
context:
space:
mode:
authorSimon Howard2013-11-17 01:28:38 +0000
committerSimon Howard2013-11-17 01:28:38 +0000
commit612ec940e5622263ad0960c7ee94cac3f447849f (patch)
treef5076800c251740fc16de5af075f4243d5992820 /src/doom
parent49f5fb7ee0a0762470801789d856f2c39ecabaa7 (diff)
downloadchocolate-doom-612ec940e5622263ad0960c7ee94cac3f447849f.tar.gz
chocolate-doom-612ec940e5622263ad0960c7ee94cac3f447849f.tar.bz2
chocolate-doom-612ec940e5622263ad0960c7ee94cac3f447849f.zip
Change names of Doom II MAP31/MAP32 when using the BFG edition (thanks
Fabian Greffrath). Subversion-branch: /branches/v2-branch Subversion-revision: 2747
Diffstat (limited to 'src/doom')
-rw-r--r--src/doom/d_main.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/doom/d_main.c b/src/doom/d_main.c
index 931c50a8..95342437 100644
--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -1577,6 +1577,16 @@ void D_DoomMain (void)
{
printf("BFG Edition: Using INTERPIC instead of TITLEPIC.\n");
bfgedition = true;
+
+ // BFG Edition changes the names of the secret levels to
+ // censor the Wolfenstein references. It also has an extra
+ // secret level (MAP33). In Vanilla Doom (meaning the DOS
+ // version), MAP33 overflows into the Plutonia level names
+ // array, so HUSTR_33 is actually PHUSTR_1.
+
+ DEH_AddStringReplacement(HUSTR_31, "level 31: idkfa");
+ DEH_AddStringReplacement(HUSTR_32, "level 32: keen");
+ DEH_AddStringReplacement(PHUSTR_1, "level 33: betray");
}
if (M_CheckParmWithArgs("-statdump", 1))