summaryrefslogtreecommitdiffstats
path: root/converter/cConvert.cpp
diff options
context:
space:
mode:
authoradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-10-30 09:04:40 +0100
committeradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-10-30 09:04:40 +0100
commit5134805bd749e927afa2da16a98ddfb837477b92 (patch)
tree42a49a4e9e8067a1eacdbbfdb745c7ccf3abe723 /converter/cConvert.cpp
parentAdded Long Tag. It'll now go through the entire NBT data without erroring out. I'm not sure that it's actually saving all tag 7 data though. (diff)
downloadcuberite-5134805bd749e927afa2da16a98ddfb837477b92.tar
cuberite-5134805bd749e927afa2da16a98ddfb837477b92.tar.gz
cuberite-5134805bd749e927afa2da16a98ddfb837477b92.tar.bz2
cuberite-5134805bd749e927afa2da16a98ddfb837477b92.tar.lz
cuberite-5134805bd749e927afa2da16a98ddfb837477b92.tar.xz
cuberite-5134805bd749e927afa2da16a98ddfb837477b92.tar.zst
cuberite-5134805bd749e927afa2da16a98ddfb837477b92.zip
Diffstat (limited to 'converter/cConvert.cpp')
-rw-r--r--converter/cConvert.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/converter/cConvert.cpp b/converter/cConvert.cpp
index 876d1a009..1ee923a31 100644
--- a/converter/cConvert.cpp
+++ b/converter/cConvert.cpp
@@ -177,6 +177,12 @@ int main () {
//NBTData->m_bDecompressed = true;
NBTData->ParseData();
NBTData->PrintData();
+
+ //Char* Blocks =
+ //NBTData->GetByteArray("Blocks");
+ //for(unsigned int i = 0; i < 111; i++) {//re
+ //printf("Blocks?: %i\n", NBTData->cNBTCompound::GetByteArray("Blocks")[0]);
+ //}
return 1;
fwrite( BlockData, DestSize, 1, wf ); //write contents of uncompressed block data to file to check to see if it's valid... It is! :D
//fwrite( &temparr, compdlength, sizeof(unsigned char), wf );