Small improvements

This commit is contained in:
Amos 2022-03-12 13:19:31 +01:00
parent faac1232be
commit 24cd3aa2d5
2 changed files with 7 additions and 4 deletions

View File

@ -1,5 +1,6 @@
#include "core/stdafx.h"
#include "engine/sys_dll.h"
#include "engine/sys_utils.h"
//-----------------------------------------------------------------------------
// Sys_Error_Internal
@ -7,9 +8,11 @@
//-----------------------------------------------------------------------------
int HSys_Error_Internal(char* fmt, va_list args)
{
printf("\n_______________________________________________________________\n");
printf("] ENGINE ERROR ################################################\n");
vprintf(fmt, args);
char buffer[2048]{};
Error(eDLL_T::NONE, "_______________________________________________________________\n");
Error(eDLL_T::NONE, "] ENGINE ERROR ################################################\n");
vsprintf(buffer, fmt, args);
Error(eDLL_T::NONE, "%s\n", buffer);
///////////////////////////////////////////////////////////////////////////
return Sys_Error_Internal(fmt, args);

View File

@ -80,7 +80,7 @@ void ConVar::Init(void) const
cl_conoverlay_script_server_clr = new ConVar("cl_conoverlay_script_server_clr", "130 120 245 255", FCVAR_DEVELOPMENTONLY, "Script SERVER VM RUI console overlay log color.", false, 1.f, false, 50.f, nullptr, nullptr);
cl_conoverlay_script_client_clr = new ConVar("cl_conoverlay_script_client_clr", "117 116 139 255", FCVAR_DEVELOPMENTONLY, "Script CLIENT VM RUI console overlay log color.", false, 1.f, false, 50.f, nullptr, nullptr);
cl_conoverlay_script_ui_clr = new ConVar("cl_conoverlay_script_ui_clr ", "200 110 110 255", FCVAR_DEVELOPMENTONLY, "Script UI VM RUI console overlay log color.", false, 1.f, false, 50.f, nullptr, nullptr);
cl_conoverlay_script_ui_clr = new ConVar("cl_conoverlay_script_ui_clr" , "200 110 110 255", FCVAR_DEVELOPMENTONLY, "Script UI VM RUI console overlay log color.", false, 1.f, false, 50.f, nullptr, nullptr);
cl_conoverlay_native_server_clr = new ConVar("cl_conoverlay_native_server_clr", "020 050 248 255", FCVAR_DEVELOPMENTONLY, "Native SERVER RUI console overlay log color.", false, 1.f, false, 50.f, nullptr, nullptr);
cl_conoverlay_native_client_clr = new ConVar("cl_conoverlay_native_client_clr", "070 070 070 255", FCVAR_DEVELOPMENTONLY, "Native CLIENT RUI console overlay log color.", false, 1.f, false, 50.f, nullptr, nullptr);