fix: colisió de TRANSPATENT amb macro de windows

This commit is contained in:
2025-11-23 12:15:31 +01:00
parent d995680f71
commit 61d833a048
5 changed files with 15 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ auto Color::fromString(const std::string& name) -> Uint8 {
// Incluye nombres oficiales del CPC y aliases para compatibilidad
static const std::unordered_map<std::string, Uint8> COLOR_MAP = {
// Transparente
{"transparent", index(Cpc::TRANSPARENT)},
{"transparent", index(Cpc::CLEAR)},
// Colores oficiales Amstrad CPC
{"black", index(Cpc::BLACK)},