feat(glue): partially implement CCharacterSelection::Shutdown

This commit is contained in:
fallenoak committed 2026-01-02 21:43:06 -06:00
1 parent d1b4474e96
commit ba8b69dd79
3 files changed
+13

No files matched your search

+8
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
+1
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();
};
+4
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;