eliminats tots els #ifndef. Sembla que #pragma once ja funciona, no com fa quatre anys 😌

This commit is contained in:
2024-07-26 10:45:29 +02:00
parent 89cea1c93e
commit 9886f314b5
32 changed files with 33 additions and 185 deletions

View File

@@ -3,9 +3,6 @@
#include <SDL2/SDL.h>
#include "common/utils.h"
#ifndef CONST_H
#define CONST_H
// Tamaño de bloque
#define BLOCK 8
#define HALF_BLOCK BLOCK / 2
@@ -68,6 +65,4 @@ const color_t difficultyNormalColor = {255, 122, 0};
const color_t difficultyHardColor = {118, 66, 138};
const color_t flashColor = {0xFF, 0xFF, 0xFF};
const color_t fadeColor = {0x27, 0x27, 0x36};
const color_t orangeColor = {0xFF, 0x7A, 0x00};
#endif
const color_t orangeColor = {0xFF, 0x7A, 0x00};