- [FIX] Renombrat "aux" a "misc", que a Windows no li mola eixe nom d'arxiu

This commit is contained in:
2025-11-19 09:06:08 +01:00
parent a0a7a78061
commit 33d72f8990
3 changed files with 6 additions and 6 deletions

11
source/misc.cpp Normal file
View File

@@ -0,0 +1,11 @@
#include "misc.h"
namespace misc
{
std::string colors[17] = { "black", "bright_black", "blue", "bright_blue", "red", "bright_red", "magenta", "bright_magenta", "green", "bright_green", "cyan", "bright_cyan", "yellow", "bright_yellow", "white", "bright_white", "transparent" };
int getColorByName(std::string color)
{
for (int i=0; i<17; ++i) if (colors[i] == color) return i;
return 0;
}
}