Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCUMM: MACGUI: Disable Maniac Mansion Mac GUI while paused #6422

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eriktorbjorn
Copy link
Member

The Mac GUI for the SCUMM games does not work well when the game is paused. At least not the way pause/message banners are handled, so the Mac GUI is suppressed while there is one on screen.

When it was just Loom and Indy 3, we just checked if the custom message banner had been created. When other games were added, we also tested the _messageBannerActive flag. But this was not set for old style games, and now Maniac Mansion (which was ported to the Mac for the Day of the Tentacle Easter Egg) is in the process of being supported. So this pull request sets the _messageBannerActive flag for that case as well. I hope this doesn't break anything, but there was no one around on Discord that I could ask.

(It also turns out that this flag is already set for Loom and Indy 3, so we don't have to check for the custom message banner.)

We do this by setting the _messageBannerActive flag. It's not really a
banner, I guess, but close enough. Also simplified the check a bit. Back
when it was just Loom and Indy 3, we checked if their custom banner
window had been created. But the message banner flag actually covers
that as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant