summaryrefslogtreecommitdiffstats
path: root/src/ChunkSender.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-10-23 21:19:43 +0200
committerHowaner <franzi.moos@googlemail.com>2014-10-23 21:19:43 +0200
commit9af58a81d6467829b72801169c8e80a2bab01804 (patch)
tree454cee2b4b47387ba19e7537de3d5d699be7f9fe /src/ChunkSender.h
parentMerge branch 'master' into ChunkLoader (diff)
downloadcuberite-9af58a81d6467829b72801169c8e80a2bab01804.tar
cuberite-9af58a81d6467829b72801169c8e80a2bab01804.tar.gz
cuberite-9af58a81d6467829b72801169c8e80a2bab01804.tar.bz2
cuberite-9af58a81d6467829b72801169c8e80a2bab01804.tar.lz
cuberite-9af58a81d6467829b72801169c8e80a2bab01804.tar.xz
cuberite-9af58a81d6467829b72801169c8e80a2bab01804.tar.zst
cuberite-9af58a81d6467829b72801169c8e80a2bab01804.zip
Diffstat (limited to 'src/ChunkSender.h')
-rw-r--r--src/ChunkSender.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ChunkSender.h b/src/ChunkSender.h
index 585d50914..7cd7ddd86 100644
--- a/src/ChunkSender.h
+++ b/src/ChunkSender.h
@@ -79,7 +79,8 @@ public:
enum eChunkPriority
{
E_CHUNK_PRIORITY_HIGH = 0,
- E_CHUNK_PRIORITY_LOW = 1,
+ E_CHUNK_PRIORITY_MEDIUM = 1,
+ E_CHUNK_PRIORITY_LOW = 2,
};
bool Start(cWorld * a_World);
@@ -143,6 +144,7 @@ protected:
cCriticalSection m_CS;
cChunkCoordsList m_ChunksReady;
sSendChunkList m_SendChunksLowPriority;
+ sSendChunkList m_SendChunksMediumPriority;
sSendChunkList m_SendChunksHighPriority;
cEvent m_evtQueue; // Set when anything is added to m_ChunksReady
cEvent m_evtRemoved; // Set when removed clients are safe to be deleted