diff options
author | Samuel Barney <samjbarney@gmail.com> | 2013-10-21 22:38:38 +0200 |
---|---|---|
committer | Samuel Barney <samjbarney@gmail.com> | 2013-10-21 22:38:38 +0200 |
commit | 6e361f195fa61ff6585f78dd7cd7302b1dba5619 (patch) | |
tree | 78d6964621093b963a48dc9d870028d5775df862 /source/Chunk.h | |
parent | Swapped which block is checked for light first. (diff) | |
download | cuberite-6e361f195fa61ff6585f78dd7cd7302b1dba5619.tar cuberite-6e361f195fa61ff6585f78dd7cd7302b1dba5619.tar.gz cuberite-6e361f195fa61ff6585f78dd7cd7302b1dba5619.tar.bz2 cuberite-6e361f195fa61ff6585f78dd7cd7302b1dba5619.tar.lz cuberite-6e361f195fa61ff6585f78dd7cd7302b1dba5619.tar.xz cuberite-6e361f195fa61ff6585f78dd7cd7302b1dba5619.tar.zst cuberite-6e361f195fa61ff6585f78dd7cd7302b1dba5619.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Chunk.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/Chunk.h b/source/Chunk.h index aca180d16..303e7b6a9 100644 --- a/source/Chunk.h +++ b/source/Chunk.h @@ -317,6 +317,9 @@ public: /// Same as QueueTickBlock(), but relative coords needn't be in this chunk (uses m_Neighbor-s in such a case), ignores unsuccessful attempts void UnboundedQueueTickBlock(int a_RelX, int a_RelY, int a_RelZ); + NIBBLETYPE UnboundedRelGetBlockLight(int a_RelX, int a_RelY, int a_RelZ); + NIBBLETYPE UnboundedRelGetSkyLight(int a_RelX, int a_RelY, int a_RelZ); + // Simulator data: cFireSimulatorChunkData & GetFireSimulatorData (void) { return m_FireSimulatorData; } cFluidSimulatorData * GetWaterSimulatorData(void) { return m_WaterSimulatorData; } |