diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/cbasetypes.h | 8 | ||||
-rw-r--r-- | src/common/mmo.h | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/src/common/cbasetypes.h b/src/common/cbasetypes.h index f94e9c6e7..1890a0901 100644 --- a/src/common/cbasetypes.h +++ b/src/common/cbasetypes.h @@ -199,9 +199,17 @@ typedef unsigned long long uint64; #ifdef __64BIT__ typedef uint64 uintptr; typedef int64 intptr; +#define UINTPTR_MIN UINT64_MIN +#define UINTPTR_MAX UINT64_MAX +#define INTPTR_MIN INT64_MIN; +#define INTPTR_MAX INT64_MAX; #else typedef uint32 uintptr; typedef int32 intptr; +#define UINTPTR_MIN UINT32_MIN +#define UINTPTR_MAX UINT32_MAX +#define INTPTR_MIN INT32_MIN; +#define INTPTR_MAX INT32_MAX; #endif diff --git a/src/common/mmo.h b/src/common/mmo.h index 2bd88c636..e138244bd 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -594,6 +594,12 @@ enum { JOB_MAX, }; +enum { + SEX_FEMALE = 0, + SEX_MALE, + SEX_SERVER +}; + // sanity checks... #if MAX_ZENY > INT_MAX #error MAX_ZENY is too big |