Fade: el color passa a estar en param.h

This commit is contained in:
2025-06-26 14:04:01 +02:00
parent 7c473d7a3d
commit 13c4f66228
12 changed files with 60 additions and 43 deletions

View File

@@ -23,6 +23,7 @@ struct ParamGame
// --- Parámetros del fade ---
struct ParamFade
{
Color color; // Color del fade
float num_squares_width; // Cantidad total de cuadraditos en horizontal para el FadeType::RANDOM_SQUARE
float num_squares_height; // Cantidad total de cuadraditos en vertical para el FadeType::RANDOM_SQUARE
int random_squares_delay; // Duración entre cada pintado de cuadrados
@@ -93,7 +94,7 @@ struct Param
ParamBackground background; // Parámetros del fondo
std::vector<ParamBalloon> balloon; // Parámetros de los globos
ParamNotification notification; // Parámetros de las notificaciones
ParamServiceMenu service_menu; // Parámetros del menú de servicio
ParamServiceMenu service_menu; // Parámetros del menú de servicio
// Constructor
Param() : game(), fade(), scoreboard(), title(), background(), notification()