Skip to content

refactor confirmResetLandscape() and delete LandscapeGenerationConfirm window#3105

Merged
AaronVanGeffen merged 7 commits intoOpenLoco:masterfrom
LeeSpork:remove-LandscapeGenerationConfirm
Jul 25, 2025
Merged

refactor confirmResetLandscape() and delete LandscapeGenerationConfirm window#3105
AaronVanGeffen merged 7 commits intoOpenLoco:masterfrom
LeeSpork:remove-LandscapeGenerationConfirm

Conversation

@LeeSpork
Copy link
Copy Markdown
Contributor

@LeeSpork LeeSpork commented May 13, 2025

Closes #3104

There is one user-facing change: the confirmation dialogue is now a modal window (you are no longer able to click outside of it until you answer it). (This is a change from original Locomotion behaviour, arguable if it counts as a vanilla-bug/oversight)

Comparison screenshots showing that the result appears identical to before:
v25.04:
image
image

PR:
image
image

@AaronVanGeffen AaronVanGeffen force-pushed the remove-LandscapeGenerationConfirm branch from b728028 to a20b0ab Compare July 25, 2025 13:45
@AaronVanGeffen AaronVanGeffen added this to the v25.07+ milestone Jul 25, 2025
@AaronVanGeffen
Copy link
Copy Markdown
Member

AaronVanGeffen commented Jul 25, 2025

Sorry, this PR got snowed under in the recent AI implementation efforts. I've rebased it on top of master.

Testing this revealed a bug on master where generating a landscape immediately triggers a segfault. I'll investigate. Edit: caused by #3164, fixed by #3170.

@AaronVanGeffen AaronVanGeffen merged commit 0b5f1a8 into OpenLoco:master Jul 25, 2025
10 checks passed
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.

LandscapeGenerationConfirm window is redundant

2 participants