diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-08-19 02:37:09 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-08-19 02:37:09 +0200 |
commit | 27114fa2694318f2a1c56cb828a3b79731efcb74 (patch) | |
tree | aad31af84a5932bf8fda83e367dfa1ac78fec1c3 /src/net/manaserv/manaserv_protocol.h | |
parent | 36239b2d689b862a951a65a9be7376a500f1ace9 (diff) | |
download | mana-27114fa2694318f2a1c56cb828a3b79731efcb74.tar.gz mana-27114fa2694318f2a1c56cb828a3b79731efcb74.tar.bz2 mana-27114fa2694318f2a1c56cb828a3b79731efcb74.tar.xz mana-27114fa2694318f2a1c56cb828a3b79731efcb74.zip |
Fixed visible equipment updates, and made it based on equip.xml.
Diffstat (limited to 'src/net/manaserv/manaserv_protocol.h')
-rw-r--r-- | src/net/manaserv/manaserv_protocol.h | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/src/net/manaserv/manaserv_protocol.h b/src/net/manaserv/manaserv_protocol.h index 624e5ac0..cd24d838 100644 --- a/src/net/manaserv/manaserv_protocol.h +++ b/src/net/manaserv/manaserv_protocol.h @@ -106,12 +106,12 @@ enum { GPMSG_LOWER_ATTRIBUTE_RESPONSE = 0x0171, // B error, W attribute PGMSG_RESPAWN = 0x0180, // - GPMSG_BEING_ENTER = 0x0200, // B type, W being id, B action, W*2 position, B direction - // character: S name, B hair style, B hair color, B gender, B item bitmask, { W item id }* + // character: S name, B hair style, B hair color, B gender, B sprite layers changed, { B slot type, W item id }* // monster: W type id // npc: W type id GPMSG_BEING_LEAVE = 0x0201, // W being id GPMSG_ITEM_APPEAR = 0x0202, // W item id, W*2 position - GPMSG_BEING_LOOKS_CHANGE = 0x0210, // W weapon, W hat, W top clothes, W bottom clothes + GPMSG_BEING_LOOKS_CHANGE = 0x0210, // B sprite layers changed, { B slot type, W item id }* PGMSG_WALK = 0x0260, // W*2 destination PGMSG_ACTION_CHANGE = 0x0270, // B Action GPMSG_BEING_ACTION_CHANGE = 0x0271, // W being id, B action @@ -419,23 +419,6 @@ enum BeingDirection RIGHT = 8 }; -/** - * enum for sprites layers. - * WARNING: Has to be in sync with the same enum in the Sprite class - * of the client! - */ -enum SpriteLayer -{ - SPRITE_BASE = 0, - SPRITE_SHOE, - SPRITE_BOTTOMCLOTHES, - SPRITE_TOPCLOTHES, - SPRITE_HAIR, - SPRITE_HAT, - SPRITE_WEAPON, - SPRITE_VECTOREND -}; - } // namespace ManaServ #endif // MANASERV_PROTOCOL_H |