summaryrefslogtreecommitdiff
path: root/src/clientmap.h
diff options
context:
space:
mode:
authorRealBadAngel <maciej.kasatkin@o2.pl>2016-02-20 04:42:35 +0100
committerest31 <MTest31@outlook.com>2016-02-21 18:18:13 +0100
commitb2aabdfe074d361b69c59f7ea29a85f060330f12 (patch)
tree9215a97d588d6a140e88461520f13e0dcb5a45e0 /src/clientmap.h
parent2f4cf0bcca1ce5941dd3d2625fe4636e86e73e75 (diff)
downloadminetest-b2aabdfe074d361b69c59f7ea29a85f060330f12.tar.gz
minetest-b2aabdfe074d361b69c59f7ea29a85f060330f12.tar.bz2
minetest-b2aabdfe074d361b69c59f7ea29a85f060330f12.zip
Camera: remove auto tune FPS, single view range setting
Diffstat (limited to 'src/clientmap.h')
-rw-r--r--src/clientmap.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/clientmap.h b/src/clientmap.h
index 445f10c97..396e68f64 100644
--- a/src/clientmap.h
+++ b/src/clientmap.h
@@ -30,9 +30,8 @@ struct MapDrawControl
{
MapDrawControl():
range_all(false),
- wanted_range(50),
+ wanted_range(0),
wanted_max_blocks(0),
- wanted_min_range(0),
blocks_drawn(0),
blocks_would_have_drawn(0),
farthest_drawn(0)
@@ -44,8 +43,6 @@ struct MapDrawControl
float wanted_range;
// Maximum number of blocks to draw
u32 wanted_max_blocks;
- // Blocks in this range are drawn regardless of number of blocks drawn
- float wanted_min_range;
// Number of blocks rendered is written here by the renderer
u32 blocks_drawn;
// Number of blocks that would have been drawn in wanted_range