]> git.localhorst.tv Git - blank.git/blobdiff - src/net/ChunkTransmission.hpp
move server and client stuff around
[blank.git] / src / net / ChunkTransmission.hpp
diff --git a/src/net/ChunkTransmission.hpp b/src/net/ChunkTransmission.hpp
deleted file mode 100644 (file)
index 90dd35e..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-#ifndef BLANK_NET_CHUNKTRANSMISSION_HPP_
-#define BLANK_NET_CHUNKTRANSMISSION_HPP_
-
-#include "../world/Chunk.hpp"
-
-#include <cstdint>
-#include <glm/glm.hpp>
-
-
-namespace blank {
-
-struct ChunkTransmission {
-
-       std::uint32_t id;
-       std::uint32_t flags;
-       glm::ivec3 coords;
-       std::uint32_t data_size;
-       std::uint32_t data_received;
-
-       int last_update;
-
-       bool header_received;
-       bool active;
-
-       std::uint8_t buffer[Chunk::BlockSize() + 10];
-
-
-       ChunkTransmission();
-
-       void Clear() noexcept;
-
-       bool Complete() const noexcept;
-
-       bool Compressed() const noexcept;
-
-};
-
-};
-
-#endif