Permalink
Browse files

Support running in Doom 3: BFG Edition

There are a few lumps added to the Doom IWADs required by the BFG Edition
of the game that would cause it to crash abnormally if the IWADs were
replaced by Freedoom.  We add these news graphics lumps to the game here.

BFG Edition also changes m_gdhigh to "Fullscreen:" and m_scrnsz to
"Gamepad:", neither change of which will ever be reflected in Freedoom,
but it won't crash in this engine anymore.

Closes: #529
  • Loading branch information...
chungy committed May 11, 2018
1 parent bf93839 commit 227ec720e6fe0a37f2e90229cee9a61ad8ac1cde
Showing with 22 additions and 1 deletion.
  1. +11 −1 buildcfg.txt
  2. +4 −0 graphics/.gitignore
  3. +1 −0 graphics/text/Makefile
  4. +6 −0 graphics/text/config.py
View
@@ -567,15 +567,19 @@ D_ULTIMA = D_DM32
; List of Pictures (with insertion point)
[graphics]
; DMENUPIC is for Doom 3: BFG Edition
#ifdef ULTDOOM
TITLEPIC 0 0 = fd1title
DMENUPIC 0 0 = fd1title
M_DOOM 13 -16
#else
#ifdef FREEDM
TITLEPIC 0 0 = fdmtitle
DMENUPIC 0 0 = fdmtitle
M_DOOM 40 -5 = m_dm
#else
TITLEPIC 0 0 = fd2title
DMENUPIC 0 0 = fd2title
M_DOOM 13 -16
#endif
#endif
@@ -833,7 +837,7 @@ M_JOYSET 0 1
M_LDSV 0 1
M_MENUS 0 1
M_MOUSE 0 1
M_MULTI 0 0
M_MULTI 0 1
M_PLAYER 0 1
M_SERIAL 0 1
M_SOUND 0 1
@@ -843,6 +847,12 @@ M_VIDEO 0 1
M_WAD 0 1
M_WADOPT 0 1
; Doom 3: BFG Edition support
M_ACPT 0 1
M_CAN 0 1
M_CHG 0 1
M_EXITO 0 1
BRDR_TL -5 -5
BRDR_T 0 -5
BRDR_TR 0 -5
View
@@ -8,9 +8,12 @@ credit.png
help.png
m_about.png
m_accel.png
m_acpt.png
m_auto.png
m_can.png
m_chat.png
m_chatm.png
m_chg.png
m_compat.png
m_demos.png
m_detail.png
@@ -22,6 +25,7 @@ m_enem.png
m_epi?.png
m_episod.png
m_etcopt.png
m_exito.png
m_feat.png
m_gdhigh.png
m_gdlow.png
View
@@ -15,6 +15,7 @@ TEXTGEN_GRAPHIC_LUMPS = \
m_mess.png m_mouse.png m_multi.png m_player.png m_serial.png \
m_setup.png m_sound.png m_stat.png m_status.png m_tcpip.png \
m_versen.png m_video.png m_wad.png m_wadopt.png m_weap.png \
m_acpt.png m_can.png m_chg.png m_exito.png \
prboom.png t_phase1.png t_phase2.png \
m_ultra.png wibp1.png wibp2.png wibp3.png wibp4.png \
wicolon.png wienter.png wif.png wifrgs.png wipcnt.png \
View
@@ -194,6 +194,12 @@
# match the other main menu graphics. Eternity Engine doesn't
# use it any more, and on SMMU there's enough space for it.
'm_multi': 'Multiplayer',
# Doom 3: BFG Edition support
'm_acpt': 'accept',
'm_can': 'cancel',
'm_chg': 'change game',
'm_exito': 'are you sure?',
}
def read_bex_lump(filename):

0 comments on commit 227ec72

Please sign in to comment.