2022-02-19 02:31:16 +01:00
|
|
|
//===========================================================================//
|
|
|
|
//
|
|
|
|
// Purpose: Implements the debug panels.
|
|
|
|
//
|
|
|
|
// $NoKeywords: $
|
|
|
|
//===========================================================================//
|
|
|
|
|
|
|
|
#include <core/stdafx.h>
|
2022-04-09 16:16:40 +02:00
|
|
|
#include <tier1/cvar.h>
|
2022-02-28 01:01:40 +01:00
|
|
|
#include <windows/id3dx.h>
|
|
|
|
#include <vpc/keyvalues.h>
|
2022-02-19 02:31:16 +01:00
|
|
|
#include <mathlib/color.h>
|
2022-07-03 11:33:42 +02:00
|
|
|
#include <rtech/rui/rui.h>
|
2022-02-19 02:31:16 +01:00
|
|
|
#include <vgui/vgui_debugpanel.h>
|
|
|
|
#include <vguimatsurface/MatSystemSurface.h>
|
2022-03-26 01:18:48 +01:00
|
|
|
#include <materialsystem/cmaterialsystem.h>
|
2022-02-19 02:31:16 +01:00
|
|
|
#include <engine/debugoverlay.h>
|
2022-05-20 11:52:19 +02:00
|
|
|
#include <engine/client/clientstate.h>
|
2022-07-01 22:33:48 +01:00
|
|
|
#include <materialsystem/cmaterialglue.h>
|
2021-12-25 22:36:38 +01:00
|
|
|
|
2022-07-13 19:46:55 +01:00
|
|
|
#ifndef CLIENT_DLL
|
|
|
|
#include <engine/server/server.h>
|
|
|
|
#endif
|
2022-07-20 22:50:55 +01:00
|
|
|
#include <rtech/rtech_utils.h>
|
2022-09-11 23:48:11 +02:00
|
|
|
#include <engine/sys_engine.h>
|
2022-07-13 19:46:55 +01:00
|
|
|
|
2021-12-25 22:36:38 +01:00
|
|
|
//-----------------------------------------------------------------------------
|
2022-07-02 19:08:35 +02:00
|
|
|
// Purpose: proceed a log update
|
2021-12-25 22:36:38 +01:00
|
|
|
//-----------------------------------------------------------------------------
|
2022-02-17 18:00:29 +01:00
|
|
|
void CLogSystem::Update(void)
|
2021-12-25 22:36:38 +01:00
|
|
|
{
|
2022-01-08 02:05:33 +01:00
|
|
|
if (!g_pMatSystemSurface)
|
2021-12-25 22:36:38 +01:00
|
|
|
{
|
|
|
|
return;
|
|
|
|
}
|
2022-09-11 23:48:11 +02:00
|
|
|
if (con_drawnotify->GetBool())
|
2021-12-25 22:36:38 +01:00
|
|
|
{
|
2022-09-11 23:48:11 +02:00
|
|
|
DrawNotify();
|
2021-12-25 22:36:38 +01:00
|
|
|
}
|
2022-01-09 16:14:17 +01:00
|
|
|
if (cl_showsimstats->GetBool())
|
2021-12-25 22:36:38 +01:00
|
|
|
{
|
2022-01-08 02:05:33 +01:00
|
|
|
DrawSimStats();
|
|
|
|
}
|
2022-01-09 16:14:17 +01:00
|
|
|
if (cl_showgpustats->GetBool())
|
2022-01-08 02:05:33 +01:00
|
|
|
{
|
|
|
|
DrawGPUStats();
|
2021-12-25 22:36:38 +01:00
|
|
|
}
|
2022-02-28 01:01:40 +01:00
|
|
|
if (cl_showhoststats->GetBool())
|
|
|
|
{
|
|
|
|
DrawHostStats();
|
|
|
|
}
|
2022-07-01 22:33:48 +01:00
|
|
|
if (cl_showmaterialinfo->GetBool())
|
|
|
|
{
|
|
|
|
DrawCrosshairMaterial();
|
|
|
|
}
|
2022-07-20 22:50:55 +01:00
|
|
|
if (stream_overlay->GetBool())
|
|
|
|
{
|
|
|
|
DrawStreamOverlay();
|
|
|
|
}
|
2022-01-08 02:05:33 +01:00
|
|
|
}
|
2021-12-25 22:36:38 +01:00
|
|
|
|
2022-01-08 02:05:33 +01:00
|
|
|
//-----------------------------------------------------------------------------
|
2022-07-02 19:08:35 +02:00
|
|
|
// Purpose: add a log to the vector.
|
2022-01-08 02:05:33 +01:00
|
|
|
//-----------------------------------------------------------------------------
|
2022-08-17 12:28:52 +02:00
|
|
|
void CLogSystem::AddLog(const EGlobalContext_t context, const string& svText)
|
2022-01-08 02:05:33 +01:00
|
|
|
{
|
2022-09-11 23:48:11 +02:00
|
|
|
if (con_drawnotify->GetBool())
|
2022-01-08 02:05:33 +01:00
|
|
|
{
|
2022-09-11 23:48:11 +02:00
|
|
|
if (svText.length() > 0)
|
|
|
|
{
|
|
|
|
std::lock_guard<std::mutex> l(m_Mutex);
|
|
|
|
m_vNotifyText.push_back(CNotifyText{ context, con_notifytime->GetFloat() , svText });
|
|
|
|
|
|
|
|
while (m_vNotifyText.size() > 0 &&
|
2022-09-12 00:44:03 +02:00
|
|
|
(m_vNotifyText.size() > con_notifylines->GetInt()))
|
2022-09-11 23:48:11 +02:00
|
|
|
{
|
|
|
|
m_vNotifyText.erase(m_vNotifyText.begin());
|
|
|
|
}
|
|
|
|
}
|
2022-01-08 02:05:33 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
2022-09-11 23:48:11 +02:00
|
|
|
// Purpose: draw notify logs on screen.
|
2022-01-08 02:05:33 +01:00
|
|
|
//-----------------------------------------------------------------------------
|
2022-09-11 23:48:11 +02:00
|
|
|
void CLogSystem::DrawNotify(void)
|
2022-01-08 02:05:33 +01:00
|
|
|
{
|
2022-09-11 23:48:11 +02:00
|
|
|
int x;
|
|
|
|
int y;
|
2022-09-12 00:44:03 +02:00
|
|
|
if (con_notify_invert_x->GetBool())
|
2021-12-25 22:36:38 +01:00
|
|
|
{
|
2022-09-12 00:44:03 +02:00
|
|
|
x = g_nWindowWidth - con_notify_offset_x->GetInt();
|
2022-09-11 23:48:11 +02:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2022-09-12 00:44:03 +02:00
|
|
|
x = con_notify_offset_x->GetInt();
|
2022-09-11 23:48:11 +02:00
|
|
|
}
|
2022-09-12 00:44:03 +02:00
|
|
|
if (con_notify_invert_y->GetBool())
|
2022-09-11 23:48:11 +02:00
|
|
|
{
|
2022-09-12 00:44:03 +02:00
|
|
|
y = g_nWindowHeight - con_notify_offset_y->GetInt();
|
2022-09-11 23:48:11 +02:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2022-09-12 00:44:03 +02:00
|
|
|
y = con_notify_offset_y->GetInt();
|
2022-09-11 23:48:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
std::lock_guard<std::mutex> l(m_Mutex);
|
|
|
|
for (int i = 0, j = m_vNotifyText.size(); i < j; i++)
|
|
|
|
{
|
|
|
|
CNotifyText* pNotify = &m_vNotifyText[i];
|
|
|
|
Color c = GetLogColorForType(m_vNotifyText[i].m_type);
|
|
|
|
|
|
|
|
float flTimeleft = pNotify->m_flLifeRemaining;
|
|
|
|
|
2022-09-19 01:46:35 +02:00
|
|
|
if (flTimeleft < 1.0f)
|
2021-12-25 22:36:38 +01:00
|
|
|
{
|
2022-09-19 01:46:35 +02:00
|
|
|
float f = clamp(flTimeleft, 0.0f, 1.0f) / 1.0f;
|
2022-09-11 23:48:11 +02:00
|
|
|
c[3] = (int)(f * 255.0f);
|
|
|
|
|
|
|
|
if (i == 0 && f < 0.2f)
|
2021-12-25 22:36:38 +01:00
|
|
|
{
|
2022-09-11 23:48:11 +02:00
|
|
|
y -= m_nFontHeight * (1.0f - f / 0.2f);
|
2021-12-25 22:36:38 +01:00
|
|
|
}
|
2022-09-11 23:48:11 +02:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
c[3] = 255;
|
|
|
|
}
|
|
|
|
CMatSystemSurface_DrawColoredText(g_pMatSystemSurface, v_Rui_GetFontFace(), m_nFontHeight, x, y, c.r(), c.g(), c.b(), c.a(), m_vNotifyText[i].m_svMessage.c_str());
|
|
|
|
|
|
|
|
if (IsX360())
|
|
|
|
{
|
|
|
|
// For some reason the fontTall value on 360 is about twice as high as it should be
|
|
|
|
y += 12;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
y += m_nFontHeight;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// Purpose: checks if the notify text is expired
|
|
|
|
// Input : flFrameTime -
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
void CLogSystem::ShouldDraw(const float flFrameTime)
|
|
|
|
{
|
|
|
|
if (con_drawnotify->GetBool())
|
|
|
|
{
|
|
|
|
std::lock_guard<std::mutex> l(m_Mutex);
|
|
|
|
|
|
|
|
int i;
|
|
|
|
int c = m_vNotifyText.size();
|
|
|
|
for (i = c - 1; i >= 0; i--)
|
|
|
|
{
|
2022-09-12 00:44:03 +02:00
|
|
|
CNotifyText* pNotify = &m_vNotifyText[i];
|
|
|
|
pNotify->m_flLifeRemaining -= flFrameTime;
|
2022-09-11 23:48:11 +02:00
|
|
|
|
2022-09-12 00:44:03 +02:00
|
|
|
if (pNotify->m_flLifeRemaining <= 0.0f)
|
2021-12-25 22:36:38 +01:00
|
|
|
{
|
2022-09-11 23:48:11 +02:00
|
|
|
m_vNotifyText.erase(m_vNotifyText.begin() + i);
|
|
|
|
continue;
|
2021-12-25 22:36:38 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-09-11 23:48:11 +02:00
|
|
|
else if (!m_vNotifyText.empty())
|
|
|
|
{
|
|
|
|
m_vNotifyText.clear();
|
|
|
|
}
|
2021-12-25 22:36:38 +01:00
|
|
|
}
|
|
|
|
|
2022-02-28 01:01:40 +01:00
|
|
|
//-----------------------------------------------------------------------------
|
2022-07-02 19:08:35 +02:00
|
|
|
// Purpose: draw current host stats on screen.
|
2022-02-28 01:01:40 +01:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
void CLogSystem::DrawHostStats(void) const
|
|
|
|
{
|
|
|
|
int nWidth = cl_hoststats_offset_x->GetInt();
|
|
|
|
int nHeight = cl_hoststats_offset_y->GetInt();
|
2022-09-11 23:48:11 +02:00
|
|
|
const static Color c = { 255, 255, 255, 255 };
|
2022-02-28 01:01:40 +01:00
|
|
|
|
2022-09-12 00:44:03 +02:00
|
|
|
if (cl_hoststats_invert_x->GetBool())
|
2022-02-28 01:01:40 +01:00
|
|
|
{
|
|
|
|
nWidth = g_nWindowWidth - nWidth;
|
|
|
|
}
|
2022-09-12 00:44:03 +02:00
|
|
|
if (cl_hoststats_invert_y->GetBool())
|
2022-02-28 01:01:40 +01:00
|
|
|
{
|
|
|
|
nHeight = g_nWindowHeight - nHeight;
|
|
|
|
}
|
|
|
|
|
2022-08-09 15:19:12 +02:00
|
|
|
CMatSystemSurface_DrawColoredText(g_pMatSystemSurface, v_Rui_GetFontFace(), m_nFontHeight, nWidth, nHeight, c.r(), c.g(), c.b(), c.a(), m_pszCon_NPrintf_Buf);
|
2022-02-28 01:01:40 +01:00
|
|
|
}
|
|
|
|
|
2022-01-08 02:05:33 +01:00
|
|
|
//-----------------------------------------------------------------------------
|
2022-07-02 19:08:35 +02:00
|
|
|
// Purpose: draw current simulation stats on screen.
|
2022-01-08 02:05:33 +01:00
|
|
|
//-----------------------------------------------------------------------------
|
2022-02-17 18:00:29 +01:00
|
|
|
void CLogSystem::DrawSimStats(void) const
|
2021-12-25 22:36:38 +01:00
|
|
|
{
|
2022-02-28 01:01:40 +01:00
|
|
|
int nWidth = cl_simstats_offset_x->GetInt();
|
|
|
|
int nHeight = cl_simstats_offset_y->GetInt();
|
|
|
|
|
2022-01-12 02:53:07 +01:00
|
|
|
static Color c = { 255, 255, 255, 255 };
|
2022-01-08 02:05:33 +01:00
|
|
|
static const char* szLogbuf[4096]{};
|
2022-07-13 19:46:55 +01:00
|
|
|
|
2022-01-09 16:14:17 +01:00
|
|
|
snprintf((char*)szLogbuf, 4096, "Server Frame: (%d) Client Frame: (%d) Render Frame: (%d)\n",
|
2022-08-18 11:35:32 +02:00
|
|
|
g_pClientState->GetServerTickCount(), g_pClientState->GetClientTickCount(), *g_nRenderTickCount);
|
2022-07-13 19:46:55 +01:00
|
|
|
|
2022-09-12 00:44:03 +02:00
|
|
|
if (cl_simstats_invert_x->GetBool())
|
2022-02-28 01:01:40 +01:00
|
|
|
{
|
|
|
|
nWidth = g_nWindowWidth - nWidth;
|
|
|
|
}
|
2022-09-12 00:44:03 +02:00
|
|
|
if (cl_simstats_invert_y->GetBool())
|
2022-02-28 01:01:40 +01:00
|
|
|
{
|
|
|
|
nHeight = g_nWindowHeight - nHeight;
|
|
|
|
}
|
|
|
|
|
2022-07-03 11:33:42 +02:00
|
|
|
CMatSystemSurface_DrawColoredText(g_pMatSystemSurface, v_Rui_GetFontFace(), m_nFontHeight, nWidth, nHeight, c.r(), c.g(), c.b(), c.a(), (char*)szLogbuf);
|
2021-12-25 22:36:38 +01:00
|
|
|
}
|
|
|
|
|
2022-01-08 02:05:33 +01:00
|
|
|
//-----------------------------------------------------------------------------
|
2022-07-02 19:08:35 +02:00
|
|
|
// Purpose: draw current gpu stats on screen.
|
2022-01-08 02:05:33 +01:00
|
|
|
//-----------------------------------------------------------------------------
|
2022-02-17 18:00:29 +01:00
|
|
|
void CLogSystem::DrawGPUStats(void) const
|
2022-01-08 02:05:33 +01:00
|
|
|
{
|
2022-02-28 01:01:40 +01:00
|
|
|
int nWidth = cl_gpustats_offset_x->GetInt();
|
|
|
|
int nHeight = cl_gpustats_offset_y->GetInt();
|
|
|
|
|
2022-01-12 02:53:07 +01:00
|
|
|
static Color c = { 255, 255, 255, 255 };
|
2022-01-08 02:05:33 +01:00
|
|
|
static const char* szLogbuf[4096]{};
|
|
|
|
snprintf((char*)szLogbuf, 4096, "%8d/%8d/%8dkiB unusable/unfree/total GPU Streaming Texture memory\n",
|
2022-08-18 02:15:23 +02:00
|
|
|
*g_nUnusableStreamingTextureMemory / 1024, *g_nUnfreeStreamingTextureMemory / 1024, *g_nUnusableStreamingTextureMemory / 1024);
|
2022-01-08 02:05:33 +01:00
|
|
|
|
2022-09-12 00:44:03 +02:00
|
|
|
if (cl_gpustats_invert_x->GetBool())
|
2022-02-28 01:01:40 +01:00
|
|
|
{
|
|
|
|
nWidth = g_nWindowWidth - nWidth;
|
|
|
|
}
|
2022-09-12 00:44:03 +02:00
|
|
|
if (cl_gpustats_invert_y->GetBool())
|
2022-02-28 01:01:40 +01:00
|
|
|
{
|
|
|
|
nHeight = g_nWindowHeight - nHeight;
|
|
|
|
}
|
|
|
|
|
2022-07-03 11:33:42 +02:00
|
|
|
CMatSystemSurface_DrawColoredText(g_pMatSystemSurface, v_Rui_GetFontFace(), m_nFontHeight, nWidth, nHeight, c.r(), c.g(), c.b(), c.a(), (char*)szLogbuf);
|
2022-01-08 02:05:33 +01:00
|
|
|
}
|
|
|
|
|
2022-07-02 19:08:35 +02:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// Purpose: draw currently traced material info on screen.
|
|
|
|
//-----------------------------------------------------------------------------
|
2022-07-01 22:33:48 +01:00
|
|
|
void CLogSystem::DrawCrosshairMaterial(void) const
|
|
|
|
{
|
2022-09-12 00:44:03 +02:00
|
|
|
CMaterialGlue* pMaterialGlue = GetMaterialAtCrossHair();
|
|
|
|
if (!pMaterialGlue)
|
2022-07-01 22:33:48 +01:00
|
|
|
return;
|
|
|
|
|
|
|
|
static Color c = { 255, 255, 255, 255 };
|
|
|
|
static const char* szLogbuf[4096]{};
|
2022-07-18 22:00:03 +01:00
|
|
|
snprintf((char*)szLogbuf, 4096, "name: %s\nguid: %llx\ndimensions: %d x %d\nsurface: %s/%s\nstc: %i\ntc: %i",
|
2022-09-12 00:44:03 +02:00
|
|
|
pMaterialGlue->m_pszName,
|
|
|
|
pMaterialGlue->m_GUID,
|
|
|
|
pMaterialGlue->m_iWidth, pMaterialGlue->m_iHeight,
|
|
|
|
pMaterialGlue->m_pszSurfaceName1, pMaterialGlue->m_pszSurfaceName2,
|
|
|
|
pMaterialGlue->m_nStreamableTextureCount,
|
|
|
|
pMaterialGlue->m_pShaderGlue->m_nTextureInputCount);
|
2022-07-01 22:33:48 +01:00
|
|
|
|
2022-07-03 11:33:42 +02:00
|
|
|
CMatSystemSurface_DrawColoredText(g_pMatSystemSurface, v_Rui_GetFontFace(), m_nFontHeight, cl_materialinfo_offset_x->GetInt(), cl_materialinfo_offset_y->GetInt(), c.r(), c.g(), c.b(), c.a(), (char*)szLogbuf);
|
2022-07-01 22:33:48 +01:00
|
|
|
}
|
|
|
|
|
2022-07-20 22:50:55 +01:00
|
|
|
void CLogSystem::DrawStreamOverlay(void) const
|
|
|
|
{
|
2022-07-21 17:07:20 +01:00
|
|
|
char buf[4096];
|
2022-07-21 17:05:19 +01:00
|
|
|
|
|
|
|
GetStreamOverlay(stream_overlay_mode->GetString(), buf, sizeof(buf));
|
2022-07-20 22:50:55 +01:00
|
|
|
|
|
|
|
static Color c = { 255, 255, 255, 255 };
|
|
|
|
|
2022-07-21 17:05:19 +01:00
|
|
|
CMatSystemSurface_DrawColoredText(g_pMatSystemSurface, v_Rui_GetFontFace(), m_nFontHeight, 20, 300, c.r(), c.g(), c.b(), c.a(), buf);
|
2022-07-20 22:50:55 +01:00
|
|
|
}
|
|
|
|
|
2022-01-08 02:05:33 +01:00
|
|
|
//-----------------------------------------------------------------------------
|
2022-07-02 19:08:35 +02:00
|
|
|
// Purpose: get log color for passed type.
|
2022-01-08 02:05:33 +01:00
|
|
|
//-----------------------------------------------------------------------------
|
2022-08-17 12:28:52 +02:00
|
|
|
Color CLogSystem::GetLogColorForType(const EGlobalContext_t context) const
|
2021-12-25 22:36:38 +01:00
|
|
|
{
|
2022-08-17 12:28:52 +02:00
|
|
|
switch (context)
|
2021-12-25 22:36:38 +01:00
|
|
|
{
|
2022-08-17 12:28:52 +02:00
|
|
|
case EGlobalContext_t::SCRIPT_SERVER:
|
2022-09-12 00:44:03 +02:00
|
|
|
return { con_notify_script_server_clr->GetColor() };
|
2022-08-17 12:28:52 +02:00
|
|
|
case EGlobalContext_t::SCRIPT_CLIENT:
|
2022-09-12 00:44:03 +02:00
|
|
|
return { con_notify_script_client_clr->GetColor() };
|
2022-08-17 12:28:52 +02:00
|
|
|
case EGlobalContext_t::SCRIPT_UI:
|
2022-09-12 00:44:03 +02:00
|
|
|
return { con_notify_script_ui_clr->GetColor() };
|
2022-08-17 12:28:52 +02:00
|
|
|
case EGlobalContext_t::NATIVE_SERVER:
|
2022-09-12 00:44:03 +02:00
|
|
|
return { con_notify_native_server_clr->GetColor() };
|
2022-08-17 12:28:52 +02:00
|
|
|
case EGlobalContext_t::NATIVE_CLIENT:
|
2022-09-12 00:44:03 +02:00
|
|
|
return { con_notify_native_client_clr->GetColor() };
|
2022-08-17 12:28:52 +02:00
|
|
|
case EGlobalContext_t::NATIVE_UI:
|
2022-09-12 00:44:03 +02:00
|
|
|
return { con_notify_native_ui_clr->GetColor() };
|
2022-08-17 12:28:52 +02:00
|
|
|
case EGlobalContext_t::NATIVE_ENGINE:
|
2022-09-12 00:44:03 +02:00
|
|
|
return { con_notify_native_engine_clr->GetColor() };
|
2022-08-17 12:28:52 +02:00
|
|
|
case EGlobalContext_t::NATIVE_FS:
|
2022-09-12 00:44:03 +02:00
|
|
|
return { con_notify_native_fs_clr->GetColor() };
|
2022-08-17 12:28:52 +02:00
|
|
|
case EGlobalContext_t::NATIVE_RTECH:
|
2022-09-12 00:44:03 +02:00
|
|
|
return { con_notify_native_rtech_clr->GetColor() };
|
2022-08-17 12:28:52 +02:00
|
|
|
case EGlobalContext_t::NATIVE_MS:
|
2022-09-12 00:44:03 +02:00
|
|
|
return { con_notify_native_ms_clr->GetColor() };
|
2022-08-17 12:28:52 +02:00
|
|
|
case EGlobalContext_t::NETCON_S:
|
2022-09-12 00:44:03 +02:00
|
|
|
return { con_notify_netcon_clr->GetColor() };
|
2022-08-17 12:28:52 +02:00
|
|
|
case EGlobalContext_t::COMMON_C:
|
2022-09-12 00:44:03 +02:00
|
|
|
return { con_notify_common_clr->GetColor() };
|
2022-08-17 12:28:52 +02:00
|
|
|
case EGlobalContext_t::WARNING_C:
|
2022-09-12 00:44:03 +02:00
|
|
|
return { con_notify_warning_clr->GetColor() };
|
2022-08-17 12:28:52 +02:00
|
|
|
case EGlobalContext_t::ERROR_C:
|
2022-09-12 00:44:03 +02:00
|
|
|
return { con_notify_error_clr->GetColor() };
|
2022-01-12 02:53:07 +01:00
|
|
|
default:
|
2022-09-12 00:44:03 +02:00
|
|
|
return { con_notify_native_engine_clr->GetColor() };
|
2021-12-25 22:36:38 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
CLogSystem g_pLogSystem;
|