summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-06-27 00:27:17 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-06-27 00:27:17 +0300
commitdd22ea051a643a1ca2657958c8552849dc1ffa36 (patch)
treefa9047294f1463270995277c6f4b948ae79b17f6 /src/client.h
parent3fccc67eb7c530c280e9b496e22288ffa772152d (diff)
downloadminetest-dd22ea051a643a1ca2657958c8552849dc1ffa36.tar.gz
minetest-dd22ea051a643a1ca2657958c8552849dc1ffa36.tar.bz2
minetest-dd22ea051a643a1ca2657958c8552849dc1ffa36.zip
map unloading is now a whole lot better
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client.h b/src/client.h
index 442eaef5d..bd838fee0 100644
--- a/src/client.h
+++ b/src/client.h
@@ -28,6 +28,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "jmutex.h"
#include <ostream>
#include "clientobject.h"
+#include "utility.h" // For IntervalLimiter
struct MeshMakeData;
@@ -306,11 +307,11 @@ private:
void sendPlayerInfo();
float m_packetcounter_timer;
- float m_delete_unused_sectors_timer;
float m_connection_reinit_timer;
float m_avg_rtt_timer;
float m_playerpos_send_timer;
float m_ignore_damage_timer; // Used after server moves player
+ IntervalLimiter m_map_timer_and_unload_interval;
MeshUpdateThread m_mesh_update_thread;