summaryrefslogtreecommitdiff
path: root/src/clientserver.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-31 16:23:26 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-03-31 16:25:02 +0300
commit52122c342d335a2561ace87c9d8deaa16a136604 (patch)
tree33ed625674d82c505b347adf26307748c85c8cfc /src/clientserver.h
parent96ee73f79018c8aae22a392af6f66f9a05cb0174 (diff)
downloadminetest-52122c342d335a2561ace87c9d8deaa16a136604.tar.gz
minetest-52122c342d335a2561ace87c9d8deaa16a136604.tar.bz2
minetest-52122c342d335a2561ace87c9d8deaa16a136604.zip
Add 'fly' and 'fast' privileges and the underlying privileges-to-client system
Diffstat (limited to 'src/clientserver.h')
-rw-r--r--src/clientserver.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/clientserver.h b/src/clientserver.h
index def4570e1..461c13cd2 100644
--- a/src/clientserver.h
+++ b/src/clientserver.h
@@ -50,9 +50,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
PROTOCOL_VERSION 9:
ContentFeatures and NodeDefManager use a different serialization
format; better for future version cross-compatibility
+ Many things
+ PROTOCOL_VERSION 10:
+ TOCLIENT_PRIVILEGES
+ Version raised to force 'fly' and 'fast' privileges into effect.
*/
-#define PROTOCOL_VERSION 9
+#define PROTOCOL_VERSION 10
#define PROTOCOL_ID 0x4f457403
@@ -291,6 +295,15 @@ enum ToClientCommand
u16 command
s32 sound_id
*/
+
+ TOCLIENT_PRIVILEGES = 0x41,
+ /*
+ u16 command
+ u16 number of privileges
+ for each privilege
+ u16 len
+ u8[len] privilege
+ */
};
enum ToServerCommand