diff options
Diffstat (limited to 'src/map/config/Data/Const.h')
-rw-r--r-- | src/map/config/Data/Const.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/src/map/config/Data/Const.h b/src/map/config/Data/Const.h index 88b00ea21..b4984f9c2 100644 --- a/src/map/config/Data/Const.h +++ b/src/map/config/Data/Const.h @@ -42,9 +42,22 @@ * Path within the /db folder to (non-)renewal specific db files **/ #if REMODE -#define DBPATH "re/" + #define DBPATH "re/" #else -#define DBPATH "pre-re/" + #define DBPATH "pre-re/" +#endif + +/** + * DefType + **/ +#if REMODE + typedef short defType; + #define DEFTYPE_MIN SHRT_MIN + #define DEFTYPE_MAX SHRT_MAX +#else + typedef signed char defType; + #define DEFTYPE_MIN CHAR_MIN + #define DEFTYPE_MAX CHAR_MAX #endif /** |