From dc57eb0844fea8fd444281453b25f43ab7007a22 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Thu, 20 Feb 2014 06:03:18 +0000 Subject: Add BFG edition workaround for options menu crash. The BFG edition IWADs have their M_GDHIGH lumps changed to say "Fullscreen:" instead of just "high". This breaks the options menu which assumes a graphic that is not as wide. In the same spirit as the title screen workaround, add a workaround for this as well: use the message "on/off" graphics instead when we are running using a BFG edition IWAD. This fixes #341 (thanks Fabian Greffrath). --- src/doom/doomstat.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/doom/doomstat.h') diff --git a/src/doom/doomstat.h b/src/doom/doomstat.h index 9e09bb42..bb203e0d 100644 --- a/src/doom/doomstat.h +++ b/src/doom/doomstat.h @@ -66,6 +66,9 @@ extern GameMission_t gamemission; extern GameVersion_t gameversion; extern char *gamedescription; +// If true, we're using one of the mangled BFG edition IWADs. +extern boolean bfgedition; + // Convenience macro. // 'gamemission' can be equal to pack_chex or pack_hacx, but these are // just modified versions of doom and doom2, and should be interpreted -- cgit v1.2.3