diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-25 13:16:23 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-25 13:16:23 +0100 |
commit | e0707a7af6238dabe2554f14a188cf1ca993e778 (patch) | |
tree | 89b108e27c3696c3e4c34323d4aa3ab95c6bc74f /source/BlockArea.h | |
parent | Fixed underflow issue in LeakFinder.cpp (diff) | |
download | cuberite-e0707a7af6238dabe2554f14a188cf1ca993e778.tar cuberite-e0707a7af6238dabe2554f14a188cf1ca993e778.tar.gz cuberite-e0707a7af6238dabe2554f14a188cf1ca993e778.tar.bz2 cuberite-e0707a7af6238dabe2554f14a188cf1ca993e778.tar.lz cuberite-e0707a7af6238dabe2554f14a188cf1ca993e778.tar.xz cuberite-e0707a7af6238dabe2554f14a188cf1ca993e778.tar.zst cuberite-e0707a7af6238dabe2554f14a188cf1ca993e778.zip |
Diffstat (limited to '')
-rw-r--r-- | source/BlockArea.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/source/BlockArea.h b/source/BlockArea.h index 94ad67e7f..7624dec23 100644 --- a/source/BlockArea.h +++ b/source/BlockArea.h @@ -149,6 +149,36 @@ public: NIBBLETYPE a_BlockLight = 0, NIBBLETYPE a_BlockSkyLight = 0x0f
);
+ /// Rotates the entire area clockwise around the Y axis
+ void RotateCW(void);
+
+ /// Rotates the entire area counter-clockwise around the Y axis
+ void RotateCCW(void);
+
+ /// Mirrors the entire area around the XY plane
+ void MirrorXY(void);
+
+ /// Mirrors the entire area around the XZ plane
+ void MirrorXZ(void);
+
+ /// Mirrors the entire area around the YZ plane
+ void MirrorYZ(void);
+
+ /// Rotates the entire area clockwise around the Y axis, doesn't use blockhandlers for block meta
+ void RotateCWNoMeta(void);
+
+ /// Rotates the entire area counter-clockwise around the Y axis, doesn't use blockhandlers for block meta
+ void RotateCCWNoMeta(void);
+
+ /// Mirrors the entire area around the XY plane, doesn't use blockhandlers for block meta
+ void MirrorXYNoMeta(void);
+
+ /// Mirrors the entire area around the XZ plane, doesn't use blockhandlers for block meta
+ void MirrorXZNoMeta(void);
+
+ /// Mirrors the entire area around the YZ plane, doesn't use blockhandlers for block meta
+ void MirrorYZNoMeta(void);
+
// Setters:
void SetRelBlockType (int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE a_BlockType);
void SetBlockType (int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType);
|