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

Expose map settings methods for use in MekHQ #5451

Merged
merged 1 commit into from
May 6, 2024

Conversation

AaronGullickson
Copy link
Member

@AaronGullickson AaronGullickson commented May 6, 2024

This PR is needed by MegaMek/mekhq#3931 which is creating a customizable scenario dialog. One of the options in that dialog is setting up maps. This requires the ability to get all available map sizes and scan for maps based on map size. Those functions already exist in MegaMek and are usable but some are currently set to private usage. So, this PR just makes a few of those methods public. It also switches two methods in GameManager to static methods that don't actually depend on anything in GameManager.

@AaronGullickson AaronGullickson marked this pull request as ready for review May 6, 2024 18:22
@AaronGullickson AaronGullickson merged commit 9377484 into MegaMek:master May 6, 2024
4 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.

None yet

2 participants