2022-02-19 02:31:16 +01:00
|
|
|
//=====================================================================================//
|
|
|
|
//
|
|
|
|
// Purpose: Master for refresh, status bar, console, chat, notify, etc.
|
|
|
|
//
|
|
|
|
// $NoKeywords: $
|
|
|
|
//=====================================================================================//
|
|
|
|
|
|
|
|
#include <core/stdafx.h>
|
|
|
|
#include <engine/sys_dll.h>
|
|
|
|
#include <engine/gl_screen.h>
|
|
|
|
#include <vgui/vgui_baseui_interface.h>
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// Purpose: finished loading
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
void SCR_EndLoadingPlaque(void)
|
|
|
|
{
|
|
|
|
if (*scr_drawloading)
|
|
|
|
{
|
|
|
|
*scr_engineevent_loadingstarted = 0;
|
2022-04-18 03:35:24 +02:00
|
|
|
g_pEngineVGui->HideLoadingPlaque();
|
2022-02-19 02:31:16 +01:00
|
|
|
}
|
|
|
|
else if (*gfExtendedError)
|
|
|
|
{
|
2022-04-18 03:35:24 +02:00
|
|
|
g_pEngineVGui->ShowErrorMessage();
|
2022-02-19 02:31:16 +01:00
|
|
|
}
|
|
|
|
}
|