feat(glue): partially implement CCharacterSelection::Shutdown

This commit is contained in:
fallenoak 2026-01-02 21:42:55 -06:00
parent d1b4474e96
commit ba8b69dd79
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D
3 changed files with 13 additions and 0 deletions

View File

@ -195,6 +195,14 @@ void CCharacterSelection::ShowCharacter() {
CGlueLoading::StartLoad(character->m_component, 0);
}
void CCharacterSelection::Shutdown() {
// TODO
CCharacterSelection::s_characterList.Clear();
// TODO
}
void CCharacterSelection::UpdateCharacterList() {
// TODO

View File

@ -38,6 +38,7 @@ class CCharacterSelection {
static void SetBackgroundModel(const char* modelPath);
static void SetFacing(float facing);
static void ShowCharacter();
static void Shutdown();
static void UpdateCharacterList();
};

View File

@ -1140,6 +1140,10 @@ void CGlueMgr::Suspend() {
// TODO
CCharacterSelection::Shutdown();
// TODO
if (CGlueMgr::m_simpleTop) {
delete CGlueMgr::m_simpleTop;
CGlueMgr::m_simpleTop = nullptr;