From 123ccffa2b5ab7621de8fa57bab4c6d87a15b04c Mon Sep 17 00:00:00 2001 From: TheoryOfNekomata Date: Tue, 17 May 2022 10:43:45 +0800 Subject: [PATCH] Define constants Use #define instead of const for constants. --- src/packages/game/IZ_common.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/packages/game/IZ_common.h b/src/packages/game/IZ_common.h index 8e75433..9649560 100644 --- a/src/packages/game/IZ_common.h +++ b/src/packages/game/IZ_common.h @@ -3,10 +3,9 @@ #include -static const char* APP_NAME = "SDL2"; - -static const uint8_t CONTROLS = 16; +#define CONTROLS 16 +#define PLAYERS 1 -static const uint8_t PLAYERS = 1; +static const char* APP_NAME = "SDL2"; #endif