From 6a38340299df53569be31b907d67777a6b896821 Mon Sep 17 00:00:00 2001 From: "Guilherme M. Miranda" Date: Tue, 29 Jul 2025 22:08:19 -0300 Subject: [PATCH] updated text generation script to document specific source ports --- buildcfg.txt | 51 +++++++++++++++++++++------------- graphics/text/Makefile | 2 +- graphics/text/config.py | 61 +++++++++++++++++++++-------------------- 3 files changed, 64 insertions(+), 50 deletions(-) diff --git a/buildcfg.txt b/buildcfg.txt index 0c84efa9..f1139cb1 100644 --- a/buildcfg.txt +++ b/buildcfg.txt @@ -838,42 +838,55 @@ M_LSLEFT 3 11 M_LSCNTR 3 11 M_LSRGHT 3 11 -PRBOOM 0 1 -M_GENERL 0 1 -M_SETUP 0 1 -M_KEYBND 0 1 -M_WEAP 0 1 -M_STAT 0 1 -M_AUTO 0 1 -M_ENEM 0 1 -M_MESS 0 1 -M_CHAT 0 1 +; Source port menu +; Boom M_HORSEN 0 1 M_VERSEN 0 1 +M_SETUP 0 1 +M_KEYBND 0 1 +M_AUTO 0 1 +M_CHAT 0 1 +M_ENEM 0 1 +M_STAT 0 1 +M_WEAP 0 1 +M_MESS 0 1 + +; MBF +M_COMPAT 0 1 +MBFTEXT 0 1 + +; PrBoom/PrBoom+ +PRBOOM 0 1 +M_GENERL 0 1 M_LOKSEN 0 1 M_ACCEL 0 1 + +; SMMU M_ABOUT 0 1 -M_CHATM 0 1 -M_COMPAT 0 1 M_DEMOS 0 1 -M_DMFLAG 0 1 -M_ETCOPT 0 1 M_FEAT 0 1 -M_GSET 0 1 M_HUD 0 1 -M_JOYSET 0 1 M_LDSV 0 1 -M_MENUS 0 1 M_MOUSE 0 1 M_MULTI 0 1 -M_PLAYER 0 1 M_SERIAL 0 1 M_SOUND 0 1 -M_STATUS 0 1 M_TCPIP 0 1 M_VIDEO 0 1 M_WAD 0 1 + +; Eternity +M_CHATM 0 1 +M_DMFLAG 0 1 +M_ETCOPT 0 1 +M_GSET 0 1 +M_MENUS 0 1 +M_PLAYER 0 1 +M_STATUS 0 1 M_WADOPT 0 1 + +; Misc +M_JOYSET 0 1 M_CRISPY 0 1 M_LVLTBL 0 1 M_CSTSKL 0 1 diff --git a/graphics/text/Makefile b/graphics/text/Makefile index cdc23de3..27ef10c8 100644 --- a/graphics/text/Makefile +++ b/graphics/text/Makefile @@ -16,7 +16,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_crispy.png m_lvltbl.png m_cstskl.png \ + m_crispy.png m_lvltbl.png m_cstskl.png mbftext.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 \ diff --git a/graphics/text/config.py b/graphics/text/config.py index 34cf7a3e..f6ffd49c 100644 --- a/graphics/text/config.py +++ b/graphics/text/config.py @@ -190,55 +190,56 @@ red_graphics = { "wiminus": "-", "wienter": "ENTERING", # "m_pause": "pause", # Doom is hard-coded to assume M_PAUSE is 68px, FD's font makes it 52 - # Extra graphics used in PrBoom's menus. Generate these as well - # so that when we play in PrBoom the menus look consistent. - "prboom": "PrBoom", - "m_generl": "General", - "m_setup": "Setup", - "m_keybnd": "Key Bindings", - "m_weap": "Weapons", - "m_stat": "Status Bar/HUD", - "m_auto": "Automap", - "m_enem": "Enemies", - "m_mess": "Messages", - "m_chat": "Chat Strings", + + # Source port specific graphics start here + # Boom: "m_horsen": "horizontal", "m_versen": "vertical", + "m_setup": "Setup", + "m_keybnd": "Key Bindings", + "m_auto": "Automap", + "m_chat": "Chat Strings", + "m_enem": "Enemies", + "m_stat": "Status Bar/HUD", + "m_weap": "Weapons", + "m_mess": "Messages", + # MBF: + "m_compat": "Compatibility", + "mbftext": "Marine's Best Friend", + # PrBoom/PrBoom+: + "prboom": "PrBoom", + "m_generl": "General", "m_loksen": "mouse look", "m_accel": "acceleration", - # Extra graphics from SMMU/Eternity Engine: + # SMMU: "m_about": "about", - "m_chatm": "Chat Strings", - "m_compat": "Compatibility", "m_demos": "demos", - "m_dmflag": "deathmatch flags", - "m_etcopt": "eternity options", + "m_multi": "Multiplayer", "m_feat": "Features", - "m_gset": "game settings", "m_hud": "heads up display", - "m_joyset": "joysticks", "m_ldsv": "Load/Save", - "m_menus": "Menu Options", "m_mouse": "mouse options", - "m_player": "player setup", "m_serial": "serial connection", "m_sound": "sound options", - "m_status": "status bar", "m_tcpip": "tcp/ip connection", "m_video": "video options", "m_wad": "load wad", + # Eternity: + "m_chatm": "Chat Strings", + "m_dmflag": "deathmatch flags", + "m_etcopt": "eternity options", + "m_gset": "game settings", + "m_menus": "Menu Options", + "m_player": "player setup", + "m_status": "status bar", "m_wadopt": "wad options", - # This is from SMMU too, and if we follow things to the letter, - # ought to be all lower-case. However, same lump name is used - # by other ports (Zandronum) which expect a taller graphic to - # 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", + # Unknown: + "m_joyset": "joysticks", # Crispy Doom's Crispness menu: "m_crispy": "Crispness", - # DSDA's Level Table + # DSDA's Level Table: "m_lvltbl": "Level Table", - # Nugget's Custom Skill + # Woof & Nugget's Custom Skill: "m_cstskl": "Custom Skill...", }