Canviades les paletes dels .gif
Ara es poden carregar paletes desde fitxers .pal Reajustada la pleta general fix: la pantalla de càrrega deixava un pixel per pintar, desde sempre Ajustat el color del borde en el Logo i el Title per a ser igual al fondo amb les paletes de 16 colors (la del Spectrum es de 15)
This commit is contained in:
@@ -165,7 +165,7 @@ bool saveOptionsToFile(const std::string &file_path)
|
||||
file << "video.border.width " << options.video.border.width << "\n\n";
|
||||
file << "# Alto del borde\n";
|
||||
file << "video.border.height " << options.video.border.height << "\n\n";
|
||||
file << "# Paleta:\n";
|
||||
file << "# Paleta\n";
|
||||
file << "video.palette " << options.video.palette << "\n";
|
||||
|
||||
// Cierra el fichero
|
||||
@@ -263,15 +263,7 @@ bool setOptions(const std::string &var, const std::string &value)
|
||||
}},
|
||||
{"video.palette", [](const std::string &v)
|
||||
{
|
||||
std::string val = v;
|
||||
if (val == "arreglar" || val == "esto")
|
||||
{
|
||||
options.video.palette = val;
|
||||
}
|
||||
else
|
||||
{
|
||||
options.video.palette = val;
|
||||
}
|
||||
options.video.palette = v;
|
||||
}}};
|
||||
|
||||
auto it = optionHandlers.find(var);
|
||||
|
||||
Reference in New Issue
Block a user