From 9e33176367974197195a9c9f8e58ede7569d665d Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Mon, 15 Jun 2020 10:14:29 -0400 Subject: Resolve compiler warnings --- include/constants/global.h | 7 +++++++ include/constants/pokemon.h | 3 --- 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 include/constants/global.h (limited to 'include/constants') diff --git a/include/constants/global.h b/include/constants/global.h new file mode 100644 index 00000000..28d4b206 --- /dev/null +++ b/include/constants/global.h @@ -0,0 +1,7 @@ +#ifndef POKEDIAMOND_CONSTANTS_GLOBAL_H +#define POKEDIAMOND_CONSTANTS_GLOBAL_H + +#define POKEMON_NAME_LENGTH 10 +#define OT_NAME_LENGTH 7 + +#endif //POKEDIAMOND_CONSTANTS_GLOBAL_H diff --git a/include/constants/pokemon.h b/include/constants/pokemon.h index 41ae10fe..9accbad1 100644 --- a/include/constants/pokemon.h +++ b/include/constants/pokemon.h @@ -272,9 +272,6 @@ #define MON_RATIO_FEMALE 254 #define MON_RATIO_UNKNOWN 255 -#define POKEMON_NAME_LENGTH 10 -#define OT_NAME_LENGTH 7 - enum MonGender { MON_MALE = 0, -- cgit v1.2.3