summaryrefslogtreecommitdiffstats
path: root/src/BlockArea.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-01-20 18:59:12 +0100
committerTycho <work.tycho+git@gmail.com>2014-01-20 18:59:12 +0100
commit4f09e8df6ecf20bd50573b7bf40c46f5ade21124 (patch)
tree202fa43fe7b8ef492439183759cb85c46ffeb75c /src/BlockArea.h
parentMerge branch 'ForEachChunkProvider' into GeneratingBenchmark (diff)
downloadcuberite-4f09e8df6ecf20bd50573b7bf40c46f5ade21124.tar
cuberite-4f09e8df6ecf20bd50573b7bf40c46f5ade21124.tar.gz
cuberite-4f09e8df6ecf20bd50573b7bf40c46f5ade21124.tar.bz2
cuberite-4f09e8df6ecf20bd50573b7bf40c46f5ade21124.tar.lz
cuberite-4f09e8df6ecf20bd50573b7bf40c46f5ade21124.tar.xz
cuberite-4f09e8df6ecf20bd50573b7bf40c46f5ade21124.tar.zst
cuberite-4f09e8df6ecf20bd50573b7bf40c46f5ade21124.zip
Diffstat (limited to 'src/BlockArea.h')
-rw-r--r--src/BlockArea.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/BlockArea.h b/src/BlockArea.h
index ae23c76c6..59bc0f241 100644
--- a/src/BlockArea.h
+++ b/src/BlockArea.h
@@ -15,14 +15,6 @@
#include "ForEachChunkProvider.h"
-
-// fwd: FastNBT.h
-class cParsedNBT;
-
-
-
-
-
// tolua_begin
class cBlockArea
{
@@ -82,12 +74,6 @@ public:
/// For testing purposes only, dumps the area into a file.
void DumpToRawFile(const AString & a_FileName);
- /// Loads an area from a .schematic file. Returns true if successful
- bool LoadFromSchematicFile(const AString & a_FileName);
-
- /// Saves the area into a .schematic file. Returns true if successful
- bool SaveToSchematicFile(const AString & a_FileName);
-
/// Crops the internal contents by the specified amount of blocks from each border.
void Crop(int a_AddMinX, int a_SubMaxX, int a_AddMinY, int a_SubMaxY, int a_AddMinZ, int a_SubMaxZ);
@@ -230,6 +216,7 @@ public:
protected:
friend class cChunkDesc;
+ friend class cSchematicFileSerializer;
class cChunkReader :
public cChunkDataCallback
@@ -288,9 +275,6 @@ protected:
// Expand helpers:
void ExpandBlockTypes(int a_SubMinX, int a_AddMaxX, int a_SubMinY, int a_AddMaxY, int a_SubMinZ, int a_AddMaxZ);
void ExpandNibbles (NIBBLEARRAY & a_Array, int a_SubMinX, int a_AddMaxX, int a_SubMinY, int a_AddMaxY, int a_SubMinZ, int a_AddMaxZ);
-
- /// Loads the area from a schematic file uncompressed and parsed into a NBT tree. Returns true if successful.
- bool LoadFromSchematicNBT(cParsedNBT & a_NBT);
/// Sets the specified datatypes at the specified location.
void RelSetData(