diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-02-13 20:22:08 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-02-13 20:22:08 +0100 |
commit | 8b1a8bee3437f5d8f865e77e27ae15ad4c690f10 (patch) | |
tree | 4dfd2af1af81457636feae7f25dedde794ed6be9 /source/BlockArea.h | |
parent | Added a forgotten part of the cBlockArea::FillRelCuboid() function. (diff) | |
download | cuberite-8b1a8bee3437f5d8f865e77e27ae15ad4c690f10.tar cuberite-8b1a8bee3437f5d8f865e77e27ae15ad4c690f10.tar.gz cuberite-8b1a8bee3437f5d8f865e77e27ae15ad4c690f10.tar.bz2 cuberite-8b1a8bee3437f5d8f865e77e27ae15ad4c690f10.tar.lz cuberite-8b1a8bee3437f5d8f865e77e27ae15ad4c690f10.tar.xz cuberite-8b1a8bee3437f5d8f865e77e27ae15ad4c690f10.tar.zst cuberite-8b1a8bee3437f5d8f865e77e27ae15ad4c690f10.zip |
Diffstat (limited to '')
-rw-r--r-- | source/BlockArea.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/BlockArea.h b/source/BlockArea.h index 04c4a7d36..5cb19b416 100644 --- a/source/BlockArea.h +++ b/source/BlockArea.h @@ -124,6 +124,12 @@ public: NIBBLETYPE a_BlockLight = 0, NIBBLETYPE a_BlockSkyLight = 0x0f
);
+ /// Draws a line from between two points with the specified data
+ void RelLine(int a_RelX1, int a_RelY1, int a_RelZ1, int a_RelX2, int a_RelY2, int a_RelZ2,
+ int a_DataTypes, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta = 0,
+ NIBBLETYPE a_BlockLight = 0, NIBBLETYPE a_BlockSkyLight = 0x0f
+ );
+
// 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);
|