]> git.localhorst.tv Git - blank.git/blobdiff - src/client/MasterState.hpp
store shapes in models rather than meshes
[blank.git] / src / client / MasterState.hpp
index 1d69998b58f3432f656a78906142704384977921..a29ff83e68e668102fdf4b4bb1d7ab3fd732744f 100644 (file)
@@ -62,13 +62,6 @@ public:
        void On(const Packet::ChunkData &) override;
        void On(const Packet::BlockUpdate &) override;
 
-private:
-       /// flag entity as updated by given packet
-       /// returns false if the update should be ignored
-       bool UpdateEntity(std::uint32_t id, std::uint16_t seq);
-       /// drop update information or given entity
-       void ClearEntity(std::uint32_t id);
-
 private:
        Environment &env;
        Config &config;
@@ -80,13 +73,6 @@ private:
 
        int login_packet;
 
-       struct UpdateStatus {
-               std::uint16_t last_packet;
-               int last_update;
-       };
-       std::map<std::uint32_t, UpdateStatus> update_status;
-       IntervalTimer update_timer;
-
 };
 
 }