diff options
author | paramat <paramat@users.noreply.github.com> | 2017-11-20 01:45:57 +0000 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-12-04 02:25:10 +0000 |
commit | f470cb7270560a26afff0a0eadfc69070236c109 (patch) | |
tree | 045b3cac767dfae7fffc02258d02cbaf7978a96f /src/network | |
parent | 2507d32afe05c73bb27ed221c2a592b0894fdc68 (diff) | |
download | minetest-f470cb7270560a26afff0a0eadfc69070236c109.tar.gz minetest-f470cb7270560a26afff0a0eadfc69070236c109.tar.bz2 minetest-f470cb7270560a26afff0a0eadfc69070236c109.zip |
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.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/networkprotocol.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |