summaryrefslogtreecommitdiff
path: root/src/defines.h
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-01-03 22:34:40 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-01-03 22:34:40 +0000
commit36eb5ac7f856dc83242837738eb18cfd9039352f (patch)
tree89ebfae081d2207e68dc04b52e4558b3a316834f /src/defines.h
parent282ca19e33b79f4468ce6402406ddb1397f2d115 (diff)
downloadmanaserv-36eb5ac7f856dc83242837738eb18cfd9039352f.tar.gz
manaserv-36eb5ac7f856dc83242837738eb18cfd9039352f.tar.bz2
manaserv-36eb5ac7f856dc83242837738eb18cfd9039352f.tar.xz
manaserv-36eb5ac7f856dc83242837738eb18cfd9039352f.zip
Added a Xmas cake: the server now supports items on floor.
Diffstat (limited to 'src/defines.h')
-rw-r--r--src/defines.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/defines.h b/src/defines.h
index ba2ba4af..b6479d2c 100644
--- a/src/defines.h
+++ b/src/defines.h
@@ -144,15 +144,16 @@ enum {
GPMSG_BEING_LEAVE = 0x0201, // W being id
PGMSG_WALK = 0x0260, // W*2 destination
GPMSG_BEINGS_MOVE = 0x0280, // { W being id, B flags [, C position] [, W*2 destination] }*
- PGMSG_SAY = 0x02A0, // S text
- GPMSG_SAY = 0x02A1, // W being id, S text
+ GPMSG_ITEMS = 0x0281, // { W item id, W*2 position }*
PGMSG_ATTACK = 0x0290, // B direction
GPMSG_BEING_ATTACK = 0x0291, // W being id
+ PGMSG_SAY = 0x02A0, // S text
+ GPMSG_SAY = 0x02A1, // W being id, S text
PGMSG_USE_ITEM = 0x0300, // L item id
GPMSG_USE_RESPONSE = 0x0301, // B error
PGMSG_EQUIP = 0x0302, // L item id, B slot
GPMSG_EQUIP_RESPONSE = 0x0303, // B error
- GPMSG_BEINGS_DAMAGE = 0x0310, // { W being id, W ammount }*
+ GPMSG_BEINGS_DAMAGE = 0x0310, // { W being id, W amount }*
// Chat
CPMSG_ERROR = 0x0401, // B error