mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 16:22:45 +03:00
feat(glue): partially implement CGlueMgr::Shutdown
This commit is contained in:
parent
f9a9b0a45a
commit
d5ef246bdf
@ -1065,6 +1065,18 @@ void CGlueMgr::SetScreen(const char* screen) {
|
|||||||
FrameScript_SignalEvent(0, "%s", screen);
|
FrameScript_SignalEvent(0, "%s", screen);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CGlueMgr::Shutdown() {
|
||||||
|
// TODO
|
||||||
|
|
||||||
|
CGlueMgr::Suspend();
|
||||||
|
|
||||||
|
CGlueMgr::m_initialized = 0;
|
||||||
|
|
||||||
|
EventUnregister(EVENT_ID_IDLE, &CGlueMgr::Idle);
|
||||||
|
|
||||||
|
// TODO
|
||||||
|
}
|
||||||
|
|
||||||
void CGlueMgr::StatusDialogClick() {
|
void CGlueMgr::StatusDialogClick() {
|
||||||
if (!SStrCmpI(CGlueMgr::m_currentScreen, "patchdownload", STORM_MAX_STR)) {
|
if (!SStrCmpI(CGlueMgr::m_currentScreen, "patchdownload", STORM_MAX_STR)) {
|
||||||
CGlueMgr::SetScreen("login");
|
CGlueMgr::SetScreen("login");
|
||||||
|
|||||||
@ -90,6 +90,7 @@ class CGlueMgr {
|
|||||||
static void SetIdleState(GLUE_IDLE_STATE state);
|
static void SetIdleState(GLUE_IDLE_STATE state);
|
||||||
static void SetLoginStateAndResult(LOGIN_STATE state, LOGIN_RESULT result, char const* addrStr, char const* stateStr, char const* resultStr, uint8_t flags);
|
static void SetLoginStateAndResult(LOGIN_STATE state, LOGIN_RESULT result, char const* addrStr, char const* stateStr, char const* resultStr, uint8_t flags);
|
||||||
static void SetScreen(const char* screen);
|
static void SetScreen(const char* screen);
|
||||||
|
static void Shutdown();
|
||||||
static void StatusDialogClick();
|
static void StatusDialogClick();
|
||||||
static void Sub4D8BA0();
|
static void Sub4D8BA0();
|
||||||
static void Suspend();
|
static void Suspend();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user