X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fnet%2FChunkTransmission.hpp;fp=src%2Fnet%2FChunkTransmission.hpp;h=0000000000000000000000000000000000000000;hb=8ae45b6555d55f301f83daf8c1337d332d8305ab;hp=90dd35ebc0a7fdfb732af5b2c197c006fc939e84;hpb=7fd76e64de47f564117b9e6f73f1482d93842108;p=blank.git diff --git a/src/net/ChunkTransmission.hpp b/src/net/ChunkTransmission.hpp deleted file mode 100644 index 90dd35e..0000000 --- a/src/net/ChunkTransmission.hpp +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef BLANK_NET_CHUNKTRANSMISSION_HPP_ -#define BLANK_NET_CHUNKTRANSMISSION_HPP_ - -#include "../world/Chunk.hpp" - -#include -#include - - -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