]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/network/networkprotocol.h
RTT fixes (#7428)
[dragonfireclient.git] / src / network / networkprotocol.h
index 76e90b560208b95077bd51cff3b89257c5f9b2ae..0a5701e59dcfcb417f5749f83038a3600189fae8 100644 (file)
@@ -180,7 +180,14 @@ with this program; if not, write to the Free Software Foundation, Inc.,
                Backwards compatibility drop
                Add 'can_zoom' to player object properties
                Add glow to object properties
+               Change TileDef serialization format.
+               Add world-aligned tiles.
                Mod channels
+               Raise ObjectProperties version to 3 for removing 'can_zoom' and adding
+                       'zoom_fov'.
+               Nodebox version 5
+               Add disconnected nodeboxes
+               Add TOCLIENT_FORMSPEC_PREPEND
 */
 
 #define LATEST_PROTOCOL_VERSION 36
@@ -638,7 +645,13 @@ enum ToClientCommand
                std::string bytes_B
        */
 
-       TOCLIENT_NUM_MSG_TYPES = 0x61,
+       TOCLIENT_FORMSPEC_PREPEND = 0x61,
+       /*
+               u16 len
+               u8[len] formspec
+       */
+
+       TOCLIENT_NUM_MSG_TYPES = 0x62,
 };
 
 enum ToServerCommand
@@ -917,10 +930,10 @@ enum PlayerListModifer: u8
 
 enum CSMFlavourLimit : u64 {
        CSM_FL_NONE = 0x00000000,
-       CSM_FL_LOOKUP_NODES = 0x00000001, // Limit node lookups
+       CSM_FL_LOAD_CLIENT_MODS = 0x00000001, // Disable mods provided by clients
        CSM_FL_CHAT_MESSAGES = 0x00000002, // Disable chat message sending from CSM
        CSM_FL_READ_ITEMDEFS = 0x00000004, // Disable itemdef lookups
        CSM_FL_READ_NODEDEFS = 0x00000008, // Disable nodedef lookups
+       CSM_FL_LOOKUP_NODES = 0x00000010, // Limit node lookups
        CSM_FL_ALL = 0xFFFFFFFF,
 };
-