summaryrefslogtreecommitdiffstats
path: root/source/cChatColor.cpp
blob: 57cc4bbfb4f5ed1e8f9b54f36b15946844ac0c06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

#include "Globals.h"  // NOTE: MSVC stupidness requires this to be the same across all modules

#include "cChatColor.h"

const std::string cChatColor::Color     = "\xa7"; // Old color was "\xc2\xa7" or in other words: "§"
const std::string cChatColor::Delimiter = "\xa7";
const std::string cChatColor::Black       = cChatColor::Color + "0";
const std::string cChatColor::Navy        = cChatColor::Color + "1";
const std::string cChatColor::Green       = cChatColor::Color + "2";
const std::string cChatColor::Blue        = cChatColor::Color + "3";
const std::string cChatColor::Red         = cChatColor::Color + "4";
const std::string cChatColor::Purple      = cChatColor::Color + "5";
const std::string cChatColor::Gold        = cChatColor::Color + "6";
const std::string cChatColor::LightGray   = cChatColor::Color + "7";
const std::string cChatColor::Gray        = cChatColor::Color + "8";
const std::string cChatColor::DarkPurple  = cChatColor::Color + "9";
const std::string cChatColor::LightGreen  = cChatColor::Color + "a";
const std::string cChatColor::LightBlue   = cChatColor::Color + "b";
const std::string cChatColor::Rose        = cChatColor::Color + "c";
const std::string cChatColor::LightPurple = cChatColor::Color + "d";
const std::string cChatColor::Yellow      = cChatColor::Color + "e";
const std::string cChatColor::White       = cChatColor::Color + "f";
const std::string cChatColor::Funky       = cChatColor::Color + "k";

const std::string cChatColor::MakeColor( char a_Color )
{
	return cChatColor::Color + a_Color;
}