summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-01-14 14:03:06 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-01-14 14:03:06 +0000
commit0e882b69855dab5ae0c50e52b3db8316c6054751 (patch)
tree81020725036353cacc2534c3dbd95535fc5b98e5 /src/common
parent6b405aa702e726f1eadcc3657c2da12f112afe0d (diff)
downloadhercules-0e882b69855dab5ae0c50e52b3db8316c6054751.tar.gz
hercules-0e882b69855dab5ae0c50e52b3db8316c6054751.tar.bz2
hercules-0e882b69855dab5ae0c50e52b3db8316c6054751.tar.xz
hercules-0e882b69855dab5ae0c50e52b3db8316c6054751.zip
* Added client login packets 0x01fa and 0x027c.
* Other minor cleanups. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13449 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common')
-rw-r--r--src/common/cbasetypes.h8
-rw-r--r--src/common/mmo.h6
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