mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(glue): partially implement CCharacterSelection::Shutdown
This commit is contained in:
parent
d1b4474e96
commit
ba8b69dd79
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user