From ed47a8e409ac8d5273a3d6b61aba90248cc4c70d Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 7 Feb 2013 10:09:42 +0000 Subject: cBlockArea can now be saved as a .schematic file. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1198 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/BlockArea.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/BlockArea.h') 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); -- cgit v1.2.3