From ca6ef58b1ee8521e4b940ee4883dee714960e413 Mon Sep 17 00:00:00 2001 From: LogicParrot Date: Fri, 5 Feb 2016 23:45:45 +0200 Subject: Bulk clearing of whitespace --- src/ChunkSender.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/ChunkSender.h') diff --git a/src/ChunkSender.h b/src/ChunkSender.h index 7a6a56680..a7b1e104b 100644 --- a/src/ChunkSender.h +++ b/src/ChunkSender.h @@ -65,22 +65,22 @@ public: E_CHUNK_PRIORITY_MIDHIGH, E_CHUNK_PRIORITY_MEDIUM, E_CHUNK_PRIORITY_LOW, - + }; - + bool Start(); - + void Stop(void); - + /** Queues a chunk to be sent to a specific client */ void QueueSendChunkTo(int a_ChunkX, int a_ChunkZ, eChunkPriority a_Priority, cClientHandle * a_Client); void QueueSendChunkTo(int a_ChunkX, int a_ChunkZ, eChunkPriority a_Priority, std::list a_Client); - + /** Removes the a_Client from all waiting chunk send operations */ void RemoveClient(cClientHandle * a_Client); - + protected: - + struct sChunkQueue { eChunkPriority m_Priority; @@ -110,9 +110,9 @@ protected: { } }; - + cWorld & m_World; - + cCriticalSection m_CS; std::priority_queue m_SendChunks; std::unordered_map m_ChunkInfo; @@ -124,10 +124,10 @@ protected: unsigned char m_BiomeMap[cChunkDef::Width * cChunkDef::Width]; std::vector m_BlockEntities; // Coords of the block entities to send // TODO: sEntityIDs m_Entities; // Entity-IDs of the entities to send - + // cIsThread override: virtual void Execute(void) override; - + // cChunkDataCollector overrides: // (Note that they are called while the ChunkMap's CS is locked - don't do heavy calculations here!) virtual void BiomeData (const cChunkDef::BiomeMap * a_BiomeMap) override; -- cgit v1.2.3