diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-02-07 11:09:42 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-02-07 11:09:42 +0100 |
commit | ed47a8e409ac8d5273a3d6b61aba90248cc4c70d (patch) | |
tree | dc98dfc9bebd34b4746bd4ae83812eb24aef763f /source/BlockArea.h | |
parent | Added a sanity check to cBlockArea:Crop() (diff) | |
download | cuberite-ed47a8e409ac8d5273a3d6b61aba90248cc4c70d.tar cuberite-ed47a8e409ac8d5273a3d6b61aba90248cc4c70d.tar.gz cuberite-ed47a8e409ac8d5273a3d6b61aba90248cc4c70d.tar.bz2 cuberite-ed47a8e409ac8d5273a3d6b61aba90248cc4c70d.tar.lz cuberite-ed47a8e409ac8d5273a3d6b61aba90248cc4c70d.tar.xz cuberite-ed47a8e409ac8d5273a3d6b61aba90248cc4c70d.tar.zst cuberite-ed47a8e409ac8d5273a3d6b61aba90248cc4c70d.zip |
Diffstat (limited to '')
-rw-r--r-- | source/BlockArea.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/BlockArea.h b/source/BlockArea.h index 58f5cf061..2c4a9e3ba 100644 --- a/source/BlockArea.h +++ b/source/BlockArea.h @@ -65,6 +65,9 @@ public: /// 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);
|