mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-24 23:07:15 +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);
|
CGlueLoading::StartLoad(character->m_component, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CCharacterSelection::Shutdown() {
|
||||||
|
// TODO
|
||||||
|
|
||||||
|
CCharacterSelection::s_characterList.Clear();
|
||||||
|
|
||||||
|
// TODO
|
||||||
|
}
|
||||||
|
|
||||||
void CCharacterSelection::UpdateCharacterList() {
|
void CCharacterSelection::UpdateCharacterList() {
|
||||||
// TODO
|
// TODO
|
||||||
|
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ class CCharacterSelection {
|
|||||||
static void SetBackgroundModel(const char* modelPath);
|
static void SetBackgroundModel(const char* modelPath);
|
||||||
static void SetFacing(float facing);
|
static void SetFacing(float facing);
|
||||||
static void ShowCharacter();
|
static void ShowCharacter();
|
||||||
|
static void Shutdown();
|
||||||
static void UpdateCharacterList();
|
static void UpdateCharacterList();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1140,6 +1140,10 @@ void CGlueMgr::Suspend() {
|
|||||||
|
|
||||||
// TODO
|
// TODO
|
||||||
|
|
||||||
|
CCharacterSelection::Shutdown();
|
||||||
|
|
||||||
|
// TODO
|
||||||
|
|
||||||
if (CGlueMgr::m_simpleTop) {
|
if (CGlueMgr::m_simpleTop) {
|
||||||
delete CGlueMgr::m_simpleTop;
|
delete CGlueMgr::m_simpleTop;
|
||||||
CGlueMgr::m_simpleTop = nullptr;
|
CGlueMgr::m_simpleTop = nullptr;
|
||||||
|
|||||||
Reference in new issue
Block a user