summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-21 05:07:39 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-21 05:07:39 +0000
commitf5114ec39330bb8afd756313827b4ab565736d6c (patch)
tree8dafb67609bc87e34e331d7908b9d45461b2ea85 /src/map/pc.h
parent6ebcbc97b368716d194c01373be5b6638d33d589 (diff)
downloadhercules-f5114ec39330bb8afd756313827b4ab565736d6c.tar.gz
hercules-f5114ec39330bb8afd756313827b4ab565736d6c.tar.bz2
hercules-f5114ec39330bb8afd756313827b4ab565736d6c.tar.xz
hercules-f5114ec39330bb8afd756313827b4ab565736d6c.zip
Added Official Costume (Style Tab) Headgear Support
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15194 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.h')
-rw-r--r--src/map/pc.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index 492c21e99..526e96fe3 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -164,7 +164,7 @@ struct map_session_data {
struct registry save_reg;
struct item_data* inventory_data[MAX_INVENTORY]; // direct pointers to itemdb entries (faster than doing item_id lookups)
- short equip_index[11];
+ short equip_index[14];
unsigned int weight,max_weight;
int cart_weight,cart_num;
int fd;
@@ -525,6 +525,9 @@ enum equip_pos {
EQP_GARMENT = 0x0004,
EQP_ACC_L = 0x0008,
EQP_ACC_R = 0x0080, //128
+ EQP_COSTUME_HEAD_TOP = 0x0400,
+ EQP_COSTUME_HEAD_MID = 0x0800,
+ EQP_COSTUME_HEAD_LOW = 0x1000,
EQP_AMMO = 0x8000, //32768
};
@@ -554,6 +557,9 @@ enum equip_index {
EQI_ARMOR,
EQI_HAND_L,
EQI_HAND_R,
+ EQI_COSTUME_TOP,
+ EQI_COSTUME_MID,
+ EQI_COSTUME_LOW,
EQI_AMMO,
EQI_MAX
};