mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-06 22:59:53 +03:00
feat(glue): partially implement CCharacterSelection::Shutdown
This commit is contained in:
3 files changed
+13
No files matched your search
@@ -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
|
||||
|
||||
|
||||
@@ -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();
|
||||
};
|
||||
|
||||
|
||||
@@ -1140,6 +1140,10 @@ void CGlueMgr::Suspend() {
|
||||
|
||||
// TODO
|
||||
|
||||
CCharacterSelection::Shutdown();
|
||||
|
||||
// TODO
|
||||
|
||||
if (CGlueMgr::m_simpleTop) {
|
||||
delete CGlueMgr::m_simpleTop;
|
||||
CGlueMgr::m_simpleTop = nullptr;
|
||||
|
||||
Reference in new issue
Block a user