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

abstract enum pagename #2451

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

Conversation

nebulazorua
Copy link
Contributor

turns PageName into an abstract enum, which should make adding custom options pages easier and allow for more compatibility between mods that would like to add custom options pages, as they won't have to leech off an existing, unused PageName (like CoolHUD does) and also won't have to rewrite code related to options to add a custom page in a more compatible way.

Note that this will break current mods that add custom options, though

should make adding modded optionspages better and easier
makes it so you dont have to leech off an unused PageName or write your own code for making modded options, helping with compatibility between mods.
@nebulazorua nebulazorua changed the base branch from main to develop May 11, 2024 08:57
@nebulazorua
Copy link
Contributor Author

please 🙏 i wanna be able to make options pages in scripts and not do it jankily

@EliteMasterEric
Copy link
Member

Will do a bunch more PR review tomorrow, if this doesn't immediately break the options menu then it should be good to merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants