treballant en la intro

This commit is contained in:
2025-07-14 19:43:07 +02:00
parent bfd3943bba
commit 5cb67b41d1
6 changed files with 24 additions and 9 deletions

View File

@@ -83,6 +83,7 @@ void initParam()
param.intro.bg_color = Color::fromHex("543149");
param.intro.card_color = Color::fromHex("CBDBFC");
param.intro.shadow_color = Color::fromHex("00000080");
param.intro.text_distance_from_bottom = 48;
}
// Carga los parámetros desde un archivo
@@ -465,6 +466,11 @@ bool setParams(const std::string &var, const std::string &value)
param.intro.shadow_color = Color::fromHex(value);
}
else if (var == "intro.text_distance_from_bottom")
{
param.intro.text_distance_from_bottom = std::stoi(value);
}
// DEBUG
else if (var == "debug.color")
{