Skip to content

Main cleanup - #202

Merged
roengstrom merged 7 commits into
mainfrom
ff8main-modes-main
Oct 30, 2026
Merged

roengstrom merged 7 commits into
mainfrom
ff8main-modes-main

Conversation

@roengstrom

Copy link
Copy Markdown
Owner

#182 was merged into wm2field-header after that branch had already been merged, so it never reached main. These are the same 7 commits rebased onto main.

Adds the GameMode enum and names g_gameMode and g_previousGameMode, all verified live.
D_80082C8C.mode tells the world map how it was entered and ff8main where to go next.
LoadDataFromDisc copies sectors as they are, LoadCompressedDataFromDisc decompresses an LZS stream into the destination. Both verified live.
Formats main.c, switches on the named game modes and transition codes, and passes NULL for the read callbacks.
Use the GameMode names wherever g_gameMode and g_previousGameMode are compared or set.
@roengstrom
roengstrom merged commit 2875593 into main Oct 30, 2026
1 check passed
@roengstrom
roengstrom deleted the ff8main-modes-main branch October 30, 2026 20:48
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.

1 participant