From 612ec940e5622263ad0960c7ee94cac3f447849f Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 17 Nov 2013 01:28:38 +0000 Subject: Change names of Doom II MAP31/MAP32 when using the BFG edition (thanks Fabian Greffrath). Subversion-branch: /branches/v2-branch Subversion-revision: 2747 --- src/doom/d_main.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/doom/d_main.c') 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)) -- cgit v1.2.3