]> git.localhorst.tv Git - blank.git/blobdiff - src/client/InteractiveState.hpp
some experiements with state sync
[blank.git] / src / client / InteractiveState.hpp
index 91a5944181b2979b075ddce9b80af3d2657a5a48..eaca4c9c78880d8679755c24d71f2558f7ea1977 100644 (file)
@@ -49,14 +49,14 @@ private:
        Interface interface;
        ChunkRenderer chunk_renderer;
        Skeletons skeletons;
+       IntervalTimer loop_timer;
        IntervalTimer update_timer;
 
        struct PlayerHistory {
                EntityState state;
-               int timestamp;
                std::uint16_t packet;
-               PlayerHistory(EntityState s, int t, std::uint16_t p)
-               : state(s), timestamp(t), packet(p) { }
+               PlayerHistory(EntityState s, std::uint16_t p)
+               : state(s), packet(p) { }
        };
        std::list<PlayerHistory> player_hist;