]> git.localhorst.tv Git - blank.git/blobdiff - src/client/InteractiveState.hpp
send updates less frequently on bad connections
[blank.git] / src / client / InteractiveState.hpp
index ab6513813e49f01c3049dfa45f336ea758ff2268..ac8f87b054bf4bf98fc382b5924f1ec57a33b8f8 100644 (file)
@@ -6,12 +6,12 @@
 
 #include "ChunkReceiver.hpp"
 #include "NetworkedInput.hpp"
-#include "../app/ChatState.hpp"
 #include "../app/IntervalTimer.hpp"
 #include "../audio/SoundBank.hpp"
 #include "../graphics/SkyBox.hpp"
 #include "../io/WorldSave.hpp"
 #include "../net/Packet.hpp"
+#include "../shared/ChatState.hpp"
 #include "../shared/WorldResources.hpp"
 #include "../ui/HUD.hpp"
 #include "../ui/InteractiveManipulator.hpp"
@@ -89,6 +89,7 @@ private:
        ChunkReceiver chunk_receiver;
        ChunkRenderer chunk_renderer;
        CoarseTimer loop_timer;
+       CoarseTimer stat_timer;
 
        SkyBox sky;
 
@@ -100,6 +101,9 @@ private:
 
        ChatState chat;
 
+       int time_skipped;
+       unsigned int packets_skipped;
+
 };
 
 }