From f470cb7270560a26afff0a0eadfc69070236c109 Mon Sep 17 00:00:00 2001 From: paramat Date: Mon, 20 Nov 2017 01:45:57 +0000 Subject: Zoom: Set zoom FOV per-player using a player object property Remove player object property 'can zoom'. Add player object property 'zoom fov'. Remove clientside setting for 'zoom fov'. Object property default is 15 degrees in creative mode, zoom disabled in survival mode. Needed due to zoom now loading and/or generating distant world according to zoom FOV. Update object properties serialisation version to 3. --- src/network/networkprotocol.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/network/networkprotocol.h') diff --git a/src/network/networkprotocol.h b/src/network/networkprotocol.h index ba3926492..fe68f39b2 100644 --- a/src/network/networkprotocol.h +++ b/src/network/networkprotocol.h @@ -183,6 +183,8 @@ with this program; if not, write to the Free Software Foundation, Inc., Change TileDef serialization format. Add world-aligned tiles. Mod channels + Raise ObjectProperties version to 3 for removing 'can_zoom' and adding + 'zoom_fov'. */ #define LATEST_PROTOCOL_VERSION 36 -- cgit v1.2.3