https://gitlab.synchro.net/main/sbbs/-/commit/a1cd2df930e3e9ab1c1b9487
Modified Files:
src/doors/syncscumm/PROVENANCE.md src/doors/syncscumm/door/help_term.cpp src/doors/syncscumm/scummvm/engines/dialogs.cpp src/doors/syncscumm/scummvm/gui/themes/default.inc src/doors/syncscumm/scummvm/gui/themes/scummclassic/classic_layout.stx classic_layout_lowres.stx
Log Message:
syncscumm: one way out of the Global Main Menu, named for where it goes
The GMM offered "Return to Launcher" and "Quit" as if they were a choice.
They were not: the launcher and file browser are compiled out of the door,
so both pushed the session to an end and dropped the caller back at the
BBS. The milder-sounding one cost a player their session.
"Return to Launcher" is gone and "Quit" now reads "Quit to BBS", which
says what actually happens.
Removing it takes a layout change as well as a code change: this layout
engine reserves a widget's space whether or not the widget is ever instantiated, so dropping only the button would have left a hole in the
menu. The ReturnToLauncher slot comes out of the built-in theme's
GlobalMenu dialog (both the highres and lowres classic layouts), and default.inc is regenerated from them -- no theme .zip is deployed, so the built-in theme is the one the door renders with. Regeneration is
deterministic: rebuilding it from unmodified sources reproduces the
committed file byte for byte, so the diff here is only this change.
Quit is now created unconditionally where upstream conditions it on gui_return_to_launcher_at_exit. With no launcher to return to, that
setting could otherwise leave the menu with no way out at all.
The key card no longer has to explain the two buttons, so that note goes
away with them.
Co-Authored-By: Claude Opus 5 (1M context) <
noreply@anthropic.com>
--- SBBSecho 3.37-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)