MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / OnAppEnd

Method OnAppEnd

ogsr_engine/xrGame/GamePersistent.cpp:135–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135void CGamePersistent::OnAppEnd()
136{
137 if (m_pMainMenu->IsActive())
138 m_pMainMenu->Activate(false);
139
140 xr_delete(m_pMainMenu);
141 xr_delete(m_pUI_core);
142
143 __super::OnAppEnd();
144
145 clean_game_globals();
146
147 GMLib.Unload();
148}
149
150void CGamePersistent::PreStart(LPCSTR op)
151{

Callers

nothing calls this directly

Calls 5

xr_deleteFunction · 0.85
clean_game_globalsFunction · 0.85
IsActiveMethod · 0.45
ActivateMethod · 0.45
UnloadMethod · 0.45

Tested by

no test coverage detected