Canviats defines per constexpr

This commit is contained in:
2025-02-21 12:27:03 +01:00
parent 788aec0dab
commit 134b679a75
17 changed files with 158 additions and 162 deletions

View File

@@ -11,8 +11,9 @@
#include "texture.h" // for Texture
#include "utils.h" // for section_t, color_t
#define INIT_FADE 100
#define END_LOGO 200
// Valores de inicialización y fin
constexpr int INIT_FADE = 100;
constexpr int END_LOGO = 200;
// Constructor
Logo::Logo(SDL_Renderer *renderer, Screen *screen, Asset *asset, Input *input, section_t *section)