mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-13 03:14:38 +00:00
Rename game states (#1294)
* `TitleSetup` -> `Setup` * `Title` -> `ConsoleLogo` * `Opening` -> `TitleSetup` * `FileChoose` -> `FileSelect` * `Select` -> `MapSelect` * prenmi/sample `Context` -> `State` * Revert filename changes * . * setupstate cleanup * Oops, `GameState` -> `SetupState`
This commit is contained in:
parent
81ab6fe831
commit
e16779cc33
18 changed files with 571 additions and 579 deletions
|
@ -228,7 +228,7 @@ void Play_Init(GameState* thisx) {
|
|||
if (gSaveContext.entranceIndex == ENTR_LOAD_OPENING) {
|
||||
gSaveContext.entranceIndex = 0;
|
||||
this->state.running = false;
|
||||
SET_NEXT_GAMESTATE(&this->state, Opening_Init, OpeningContext);
|
||||
SET_NEXT_GAMESTATE(&this->state, TitleSetup_Init, TitleSetupState);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -635,7 +635,7 @@ void Play_Update(PlayState* this) {
|
|||
gSaveContext.minigameState = 3;
|
||||
}
|
||||
} else {
|
||||
SET_NEXT_GAMESTATE(&this->state, FileChoose_Init, FileChooseContext);
|
||||
SET_NEXT_GAMESTATE(&this->state, FileSelect_Init, FileSelectState);
|
||||
}
|
||||
} else {
|
||||
this->transitionCtx.destroy(&this->transitionCtx.instanceData);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue