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

Ensure that Ext Game Popup sends Affirmative and Negative Flags #6538

Merged

Conversation

wookieejedi
Copy link
Member

On Dialog Start (used in SCPUI and within popup_init) reads popup options by affirmative or negative flags, and the popup for exiting the Mainhall did not set these flags. Notably, most popups that use POPUP_NO or POPUP_YES already, so this PR sets those flags for this popup. Now On Dialog Start within popup_init has access to the correct flags.

PR tested and works as expected, both in retail UI and SCPUI

`On Dialog Start` (used in SCPUI and within `popup_init`) reads popup options by affirmative or negative flags, and the popup for exiting the Mainhall did not set these flags. Notably, most popups that use `POPUP_NO` or `POPUP_YES`  already, so this PR sets those flags for this popup. Now `On Dialog Start` within `popup_init` has access to the correct flags.

PR tested and works as expected, both in retail UI and SCPUI
@wookieejedi wookieejedi added fix A fix for bugs, not-a-bugs, and/or regressions. ui A feature or issue specific to the menus portion of the user interface scripting A feature or issue related to LUA scripting labels Jan 19, 2025
@wookieejedi wookieejedi merged commit bd2094c into scp-fs2open:master Jan 20, 2025
16 checks passed
@wookieejedi wookieejedi deleted the set-mainhall-popup-flags branch January 20, 2025 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix A fix for bugs, not-a-bugs, and/or regressions. scripting A feature or issue related to LUA scripting ui A feature or issue specific to the menus portion of the user interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants