forked from jaildesigner-jailgames/jaildoctors_dilemma
Añadido el color del borde para cada habitación
This commit is contained in:
@@ -145,7 +145,7 @@ color_t stringToColor(std::string str)
|
||||
{
|
||||
const std::string palette = "spectrum";
|
||||
|
||||
if (palette = "spectrum")
|
||||
if (palette == "spectrum")
|
||||
{
|
||||
if (str == "black")
|
||||
{
|
||||
@@ -177,12 +177,12 @@ color_t stringToColor(std::string str)
|
||||
return {0xEE, 0x00, 0x00};
|
||||
}
|
||||
|
||||
else if (str == "purple")
|
||||
else if (str == "magenta")
|
||||
{
|
||||
return {0xFF, 0x00, 0xFF};
|
||||
}
|
||||
|
||||
else if (str == "light_purple")
|
||||
else if (str == "light_magenta")
|
||||
{
|
||||
return {0xEE, 0x00, 0xEE};
|
||||
}
|
||||
@@ -260,12 +260,12 @@ color_t stringToColor(std::string str)
|
||||
return {0xD8, 0x55, 0x25};
|
||||
}
|
||||
|
||||
else if (str == "purple")
|
||||
else if (str == "magenta")
|
||||
{
|
||||
return {0xA1, 0x55, 0x89};
|
||||
}
|
||||
|
||||
else if (str == "light_purple")
|
||||
else if (str == "light_magenta")
|
||||
{
|
||||
return {0xCD, 0x7A, 0x50};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user