aboutsummaryrefslogtreecommitdiff
path: root/src/clientserver.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-12-01 23:55:57 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-12-01 23:55:57 +0200
commit08a10b8a6a77eb729d609979ee822134d5d7a645 (patch)
tree8ea920f595acd2800bf55beeb9341c8af7d675ff /src/clientserver.h
parentaf322405454191846507b91251d655c2b0aa864b (diff)
downloadhax-minetest-server-08a10b8a6a77eb729d609979ee822134d5d7a645.tar.gz
hax-minetest-server-08a10b8a6a77eb729d609979ee822134d5d7a645.zip
Remove stuff made obsolete by making players more ActiveObject-like and raise protocol version number by one (because it is not compatible at all anymore)
Diffstat (limited to 'src/clientserver.h')
-rw-r--r--src/clientserver.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/clientserver.h b/src/clientserver.h
index ff9fc31f9..4d6cd716d 100644
--- a/src/clientserver.h
+++ b/src/clientserver.h
@@ -35,9 +35,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
Add TOSERVER_INTERACT
Obsolete TOSERVER_CLICK_ACTIVEOBJECT
Obsolete TOSERVER_GROUND_ACTION
+ PROTOCOL_VERSION 5:
+ Make players to be handled mostly as ActiveObjects
*/
-#define PROTOCOL_VERSION 4
+#define PROTOCOL_VERSION 5
#define PROTOCOL_ID 0x4f457403
@@ -76,7 +78,7 @@ enum ToClientCommand
[N+2+12+12+4] s32 yaw*100
*/
- TOCLIENT_PLAYERINFO = 0x24,
+ TOCLIENT_PLAYERINFO = 0x24, // Obsolete
/*
[0] u16 command
// Followed by an arbitary number of these:
@@ -100,7 +102,7 @@ enum ToClientCommand
[2] serialized inventory
*/
- TOCLIENT_OBJECTDATA = 0x28,
+ TOCLIENT_OBJECTDATA = 0x28, // Obsolete
/*
Sent as unreliable.