summaryrefslogtreecommitdiffstats
path: root/source/Chunk.h
diff options
context:
space:
mode:
authorSamuel Barney <samjbarney@gmail.com>2013-10-21 22:38:38 +0200
committerSamuel Barney <samjbarney@gmail.com>2013-10-21 22:38:38 +0200
commit6e361f195fa61ff6585f78dd7cd7302b1dba5619 (patch)
tree78d6964621093b963a48dc9d870028d5775df862 /source/Chunk.h
parentSwapped which block is checked for light first. (diff)
downloadcuberite-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 'source/Chunk.h')
-rw-r--r--source/Chunk.h3
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; }