diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-02 02:22:06 +0100 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-02 02:22:06 +0100 |
commit | 4dda2a5c2bf594a401f591095faf2c7e8ba19a7d (patch) | |
tree | 3b0482405cbe399fea963e26ba032af681611efe /source/packets/cPacket_MapChunk.cpp | |
parent | Chunks are successfully streamed to clients (in a bad a slow way, but whatever) (diff) | |
download | cuberite-4dda2a5c2bf594a401f591095faf2c7e8ba19a7d.tar cuberite-4dda2a5c2bf594a401f591095faf2c7e8ba19a7d.tar.gz cuberite-4dda2a5c2bf594a401f591095faf2c7e8ba19a7d.tar.bz2 cuberite-4dda2a5c2bf594a401f591095faf2c7e8ba19a7d.tar.lz cuberite-4dda2a5c2bf594a401f591095faf2c7e8ba19a7d.tar.xz cuberite-4dda2a5c2bf594a401f591095faf2c7e8ba19a7d.tar.zst cuberite-4dda2a5c2bf594a401f591095faf2c7e8ba19a7d.zip |
Diffstat (limited to '')
-rw-r--r-- | source/packets/cPacket_MapChunk.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/packets/cPacket_MapChunk.cpp b/source/packets/cPacket_MapChunk.cpp index 99afd9a40..e9ebf8355 100644 --- a/source/packets/cPacket_MapChunk.cpp +++ b/source/packets/cPacket_MapChunk.cpp @@ -49,9 +49,10 @@ cPacket_MapChunk::cPacket_MapChunk(cChunk * a_Chunk) AllData[iterator] = a_Chunk->GetBlock( x, y+i*16, z );
++iterator;
}
-
- //iterator+=2048*2; // Ignore light and stuff
}
+ //TODO: Send block metadata
+ //TODO: Send block light
+ //TODO: Send sky light
uLongf CompressedSize = compressBound( DataSize );
char * CompressedBlockData = new char[CompressedSize];
|