Canviats defines per constexpr
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user