mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-09-16 15:02:35 +02:00
Adapt to new loggers
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
#include "core/stdafx.h"
|
||||
#include "core/termutil.h"
|
||||
|
||||
std::string g_svGreyF = "";
|
||||
std::string g_svRedF = "";
|
||||
std::string g_svGreenF = "";
|
||||
std::string g_svBlueF = "";
|
||||
std::string g_svGreyF = "";
|
||||
std::string g_svRedF = "";
|
||||
std::string g_svGreenF = "";
|
||||
std::string g_svBlueF = "";
|
||||
std::string g_svYellowF = "";
|
||||
|
||||
std::string g_svGreyB = "";
|
||||
std::string g_svRedB = "";
|
||||
std::string g_svGreenB = "";
|
||||
std::string g_svBlueB = "";
|
||||
std::string g_svGreyB = "";
|
||||
std::string g_svRedB = "";
|
||||
std::string g_svGreenB = "";
|
||||
std::string g_svBlueB = "";
|
||||
std::string g_svYellowB = "";
|
||||
|
||||
std::string g_svReset = "";
|
||||
|
||||
@@ -19,15 +21,17 @@ std::string g_svReset = "";
|
||||
//-----------------------------------------------------------------------------
|
||||
void AnsiColors_Init()
|
||||
{
|
||||
g_svGreyF = "\033[38;2;204;204;204;48;2;000;000;000m";
|
||||
g_svRedF = "\033[38;2;255;000;000;48;2;000;000;000m";
|
||||
g_svGreenF = "\033[38;2;000;255;000;48;2;000;000;000m";
|
||||
g_svBlueF = "\033[38;2;000;000;255;48;2;000;000;000m";
|
||||
g_svGreyF = "\033[38;2;204;204;204;48;2;000;000;000m";
|
||||
g_svRedF = "\033[38;2;255;000;000;48;2;000;000;000m";
|
||||
g_svGreenF = "\033[38;2;000;255;000;48;2;000;000;000m";
|
||||
g_svBlueF = "\033[38;2;000;000;255;48;2;000;000;000m";
|
||||
g_svYellowF = "\033[38;2;255;255;000;48;2;000;000;000m";
|
||||
|
||||
g_svGreyB = "\033[38;2;000;000;000;48;2;204;204;204m";
|
||||
g_svRedB = "\033[38;2;000;000;000;48;2;255;000;000m";
|
||||
g_svGreenB = "\033[38;2;000;000;000;48;2;000;255;000m";
|
||||
g_svBlueB = "\033[38;2;000;000;000;48;2;000;000;255m";
|
||||
g_svGreyB = "\033[38;2;000;000;000;48;2;204;204;204m";
|
||||
g_svRedB = "\033[38;2;000;000;000;48;2;255;000;000m";
|
||||
g_svGreenB = "\033[38;2;000;000;000;48;2;000;255;000m";
|
||||
g_svBlueB = "\033[38;2;000;000;000;48;2;000;000;255m";
|
||||
g_svYellowB = "\033[38;2;000;000;000;48;2;255;255;000m";
|
||||
|
||||
g_svReset = "\033[38;2;204;204;204;48;2;000;000;000m";
|
||||
}
|
@@ -3,11 +3,14 @@ extern std::string g_svGreyF;
|
||||
extern std::string g_svRedF;
|
||||
extern std::string g_svGreenF;
|
||||
extern std::string g_svBlueF;
|
||||
extern std::string g_svYellowF;
|
||||
|
||||
extern std::string g_svGreyB;
|
||||
extern std::string g_svRedB;
|
||||
extern std::string g_svGreenB;
|
||||
extern std::string g_svBlueB;
|
||||
extern std::string g_svYellowB;
|
||||
|
||||
extern std::string g_svReset;
|
||||
|
||||
void AnsiColors_Init();
|
||||
|
Reference in New Issue
Block a user