Files
st/src/025_Title/TitleScreenManager.cpp
T
Yanis 804b25cb90 Misc Stuff 2 (#33)
* match UnkStruct_ov000_020b4f84_00_Base

* lots of random stuff

* match other funcs from game.cpp

* data_02049a2c -> gGame, UnkStruct_02049a2c -> Game

* match operator new

* fix regressions

* fix some warnings

* another round of random things

* another round of random things 2

* complete slots column in overlays.md

* add scene indices

* gamemode stuff

* misc stuff

* fix build issues

* document random things

* fix regressions

* final round of random things (for now)
2026-02-18 22:23:42 +01:00

59 lines
1.6 KiB
C++

#include "TitleScreen/TitleScreen.hpp"
#include "regs.h"
const unk16 data_ov025_020c5a0c[] = {0x0016, 0x003C};
extern "C" {
void GX_SetGraphicsMode(unk32 param1, unk32 param2, unk32 param3);
void GXS_SetGraphicsMode(unk32 param1);
}
ARM TitleScreenManager *TitleScreenManager::Create(unk32 param1) {
return new(HeapIndex_1) TitleScreenManager(param1);
}
ARM void TitleScreenManager::vfunc_14() {
this->mUnk_004.func_ov001_020bd734((unk32 *) data_ov025_020c5a0c);
this->mUnk_004.func_0201c00c(0x24, 1);
TitleScreen *pTitleScreen = new(HeapIndex_1) TitleScreen();
this->mpGameMode = (GameModeBase *) pTitleScreen;
this->mUnk_104.mList.func_020166cc(pTitleScreen->GetNode());
pTitleScreen->vfunc_18();
}
ARM void TitleScreenManager::vfunc_18() {
this->mUnk_004.func_ov001_020bd784();
delete this->mpGameMode;
this->mpGameMode = NULL;
}
ARM void TitleScreenManager::vfunc_24() {
this->GameModeManagerBase::vfunc_24();
this->func_0201875c();
this->func_02018908();
}
ARM void TitleScreenManager::vfunc_28(unk8 *param1) {
this->GameModeManagerBase::vfunc_28(param1);
this->func_02018a14(param1);
}
ARM void TitleScreenManager::vfunc_2C(unk8 *param1) {
this->func_02018984(param1);
this->func_02018830(param1);
}
ARM void TitleScreenManager::vfunc_38(unk32 param1, unk32 param2, unk32 param3, unk32 param4) {}
ARM void TitleScreenManager::func_ov025_020c4c20() {
((TitleScreen *) this->mpGameMode)->func_ov025_020c4e6c();
}
ARM void TitleScreenManager::func_ov025_020c4c30() {
((TitleScreen *) this->mpGameMode)->func_ov025_020c4e90();
}
TitleScreenManager::~TitleScreenManager() {}