shithub: choc

Download patch

ref: 612ec940e5622263ad0960c7ee94cac3f447849f
parent: 49f5fb7ee0a0762470801789d856f2c39ecabaa7
author: Simon Howard <[email protected]>
date: Sat Nov 16 20:28:38 EST 2013

Change names of Doom II MAP31/MAP32 when using the BFG edition (thanks
Fabian Greffrath).

Subversion-branch: /branches/v2-branch
Subversion-revision: 2747

--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -1577,6 +1577,16 @@
     {
         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))