X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fclient%2FInteractiveState.hpp;h=f371c8ca837aeb094c7ef5dc719b3f1b84c494f7;hb=e5caf98d970fe569fd8484dd0d6ea738f8251ae4;hp=55e03d029f630ddf8481870476546b2677aecd89;hpb=80a9a59d71a7b144c12f64cbef4644751bd54745;p=blank.git diff --git a/src/client/InteractiveState.hpp b/src/client/InteractiveState.hpp index 55e03d0..f371c8c 100644 --- a/src/client/InteractiveState.hpp +++ b/src/client/InteractiveState.hpp @@ -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" @@ -64,6 +64,7 @@ public: void SetVideo(bool) override; void SetHUD(bool) override; void SetDebug(bool) override; + void NextCamera() override; void Exit() override; void OnLineSubmit(const std::string &) override; @@ -88,7 +89,8 @@ private: Interface interface; ChunkReceiver chunk_receiver; ChunkRenderer chunk_renderer; - IntervalTimer loop_timer; + CoarseTimer loop_timer; + CoarseTimer stat_timer; SkyBox sky; @@ -100,6 +102,9 @@ private: ChatState chat; + int time_skipped; + unsigned int packets_skipped; + }; }