eliminats tots els #ifndef. Sembla que #pragma once ja funciona, no com fa quatre anys 😌
This commit is contained in:
@@ -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};
|
||||
Reference in New Issue
Block a user