Skip to content

Add in-game Spoilers option#833

Open
HylianFreddy wants to merge 2 commits into
gamestabled:mainfrom
HylianFreddy:in-game-options
Open

Add in-game Spoilers option#833
HylianFreddy wants to merge 2 commits into
gamestabled:mainfrom
HylianFreddy:in-game-options

Conversation

@HylianFreddy

Copy link
Copy Markdown
Collaborator

This adds an in-game option to toggle Spoilers in the in-game menu. The option is visible only if the seed was generated with the setting Ingame Spoilers set to Show.

The Option struct is updated to make it easier to add new entries, with a macro for "self-maintaining code", and static initialization of the options array to remove the OPTIONS_COUNT define (which I was forgetting to update while adding the new option).

The first commit of the PR contains all the option updates, and the second one contains the new Spoilers option.

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.

2 participants