summaryrefslogtreecommitdiff
path: root/src/net/protocol.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-10 22:16:14 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-10 22:16:14 +0000
commit627d4d27d594fb7356c3d4e9f4cb45eff77c1e48 (patch)
tree8ef849bef7fd774b61057f563fc06fc1180ed8b0 /src/net/protocol.h
parent863f3f15f091378c762c0a6f8f30b8f33bb399e4 (diff)
downloadmana-627d4d27d594fb7356c3d4e9f4cb45eff77c1e48.tar.gz
mana-627d4d27d594fb7356c3d4e9f4cb45eff77c1e48.tar.bz2
mana-627d4d27d594fb7356c3d4e9f4cb45eff77c1e48.tar.xz
mana-627d4d27d594fb7356c3d4e9f4cb45eff77c1e48.zip
Fixed showing death bitmap when other players die and fixed the black hair
problem.
Diffstat (limited to 'src/net/protocol.h')
-rw-r--r--src/net/protocol.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/protocol.h b/src/net/protocol.h
index 11eee3a9..b57e8d7c 100644
--- a/src/net/protocol.h
+++ b/src/net/protocol.h
@@ -24,6 +24,15 @@
#ifndef _TMW_PROTOCOL_H
#define _TMW_PROTOCOL_H
+// Packets from server to client
+#define SMSG_REMOVE_BEING 0x0080 // Died, logged out, teleport, etc.
+#define SMSG_MOVE_BEING 0x007b // A nearby monster moves
+#define SMSG_PLAYER_UPDATE_1 0x01d8 //
+#define SMSG_PLAYER_UPDATE_2 0x01d9 //
+#define SMSG_MOVE_PLAYER_BEING 0x01da // A nearby player moves
+
+
+
/** Packet length by id */
short get_length(short id);