Skip to content

Conversation

@Malkierian
Copy link
Contributor

@Malkierian Malkierian commented May 24, 2025

Convert RandomizerInf to the dynamic #define model to allow for automatic string names. This followed a precedent set with the scene and entrance tables, but tweaked to allow a specific #define structure, used in debugSaveEditor.h, to get 1:1 strings for naming the flags in the flags editor. Done because I noticed that lots of them were missing "descriptions" in the save editor, and that because the list was manually maintained and hadn't had the hundred or so new flags added to the descriptions list, and since the descriptions were all string versions of the enum names anyway, I decided to automate it.

RandomizerInf is now defined in randomizerTypes.h using the enum macro setup that z64save.h has for scenes and entrances.

Build Artifacts

Copy link
Contributor

@briaguya0 briaguya0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

macro magic but i dig it

:shipit:

@Malkierian Malkierian merged commit 40fa3c8 into HarbourMasters:develop May 30, 2025
6 checks passed
@Malkierian Malkierian deleted the rand-inf-stringify branch May 30, 2025 02:14
krazyjakee pushed a commit to krazyjakee/OOT that referenced this pull request Sep 6, 2025
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.

3 participants