Transició a surface: game.cpp fet
This commit is contained in:
@@ -433,6 +433,7 @@ Uint8 stringToColor(const std::string &str)
|
||||
{
|
||||
// Mapas de colores para cada paleta
|
||||
static const std::unordered_map<std::string, Uint8> paletteMap = {
|
||||
{"transparent", 0},
|
||||
{"black", 1},
|
||||
{"bright_black", 2},
|
||||
{"blue", 3},
|
||||
|
||||
Reference in New Issue
Block a user