diff options
| author | Dragorn421 <Dragorn421@users.noreply.github.com> | 2022-06-23 14:34:26 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-23 23:34:26 +0200 |
| commit | e16779cc338c53b91387a28e3e97cd6f5f036a66 (patch) | |
| tree | c091d92b60ccfaba5c3d4c1ec3aa4ae21b91b302 /src/code/z_play.c | |
| parent | 81ab6fe8313fa8eea4a25d5feef9ab291e798ced (diff) | |
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`
Diffstat (limited to 'src/code/z_play.c')
| -rw-r--r-- | src/code/z_play.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/z_play.c b/src/code/z_play.c index b84725942..bb18e1ad1 100644 --- a/src/code/z_play.c +++ b/src/code/z_play.c @@ -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); |
