summaryrefslogtreecommitdiffstats
path: root/src/ChunkSender.h
diff options
context:
space:
mode:
authortycho <work.tycho@gmail.com>2015-05-30 12:11:17 +0200
committertycho <work.tycho@gmail.com>2015-05-30 12:11:17 +0200
commit06a74e45e247a2d23c6b5a238a3c1b9b17b6c341 (patch)
tree965c54b25acc4a3b7dee194f9194f885299e5656 /src/ChunkSender.h
parentClean up Spawn Prepare (diff)
downloadcuberite-06a74e45e247a2d23c6b5a238a3c1b9b17b6c341.tar
cuberite-06a74e45e247a2d23c6b5a238a3c1b9b17b6c341.tar.gz
cuberite-06a74e45e247a2d23c6b5a238a3c1b9b17b6c341.tar.bz2
cuberite-06a74e45e247a2d23c6b5a238a3c1b9b17b6c341.tar.lz
cuberite-06a74e45e247a2d23c6b5a238a3c1b9b17b6c341.tar.xz
cuberite-06a74e45e247a2d23c6b5a238a3c1b9b17b6c341.tar.zst
cuberite-06a74e45e247a2d23c6b5a238a3c1b9b17b6c341.zip
Diffstat (limited to 'src/ChunkSender.h')
-rw-r--r--src/ChunkSender.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/ChunkSender.h b/src/ChunkSender.h
index 8b187c5f9..1376baeb3 100644
--- a/src/ChunkSender.h
+++ b/src/ChunkSender.h
@@ -47,26 +47,6 @@ class cChunkSender;
-/// Callback that can be used to notify chunk sender upon another chunkcoord notification
-class cNotifyChunkSender :
- public cChunkCoordCallback
-{
- virtual void Call(int a_ChunkX, int a_ChunkZ) override;
-
- cChunkSender * m_ChunkSender;
-public:
- cNotifyChunkSender(cChunkSender * a_ChunkSender) : m_ChunkSender(a_ChunkSender) {}
-
- void SetChunkSender(cChunkSender * a_ChunkSender)
- {
- m_ChunkSender = a_ChunkSender;
- }
-} ;
-
-
-
-
-
class cChunkSender:
public cIsThread,
public cChunkDataSeparateCollector
@@ -150,8 +130,6 @@ protected:
cEvent m_evtRemoved; // Set when removed clients are safe to be deleted
int m_RemoveCount; // Number of threads waiting for a client removal (m_evtRemoved needs to be set this many times)
- cNotifyChunkSender m_Notify; // Used for chunks that don't have a valid lighting - they will be re-queued after lightcalc
-
// Data about the chunk that is being sent:
// NOTE that m_BlockData[] is inherited from the cChunkDataCollector
unsigned char m_BiomeMap[cChunkDef::Width * cChunkDef::Width];