mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-04 00:36:09 +00:00
e16779cc33
* `TitleSetup` -> `Setup` * `Title` -> `ConsoleLogo` * `Opening` -> `TitleSetup` * `FileChoose` -> `FileSelect` * `Select` -> `MapSelect` * prenmi/sample `Context` -> `State` * Revert filename changes * . * setupstate cleanup * Oops, `GameState` -> `SetupState`
18 lines
480 B
C
18 lines
480 B
C
#include "global.h"
|
|
|
|
void Setup_InitImpl(SetupState* this) {
|
|
osSyncPrintf("ゼルダ共通データ初期化\n"); // "Zelda common data initalization"
|
|
SaveContext_Init();
|
|
this->state.running = false;
|
|
SET_NEXT_GAMESTATE(&this->state, ConsoleLogo_Init, ConsoleLogoState);
|
|
}
|
|
|
|
void Setup_Destroy(GameState* thisx) {
|
|
}
|
|
|
|
void Setup_Init(GameState* thisx) {
|
|
SetupState* this = (SetupState*)thisx;
|
|
|
|
this->state.destroy = Setup_Destroy;
|
|
Setup_InitImpl(this);
|
|
}
|