diff options
author | Mattes D <github@xoft.cz> | 2013-10-30 23:25:51 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2013-10-30 23:25:51 +0100 |
commit | 8b9d3c77228b139d5b5a146e0f1aa242e3066903 (patch) | |
tree | 6733363192eb368c335e9aa18fd0df2ab4a266b7 /source/Chunk.h | |
parent | Added 1.7 to protocol recognizer. (diff) | |
parent | Last of the nitpicker note fixes. Added some inline commenting. (diff) | |
download | cuberite-8b9d3c77228b139d5b5a146e0f1aa242e3066903.tar cuberite-8b9d3c77228b139d5b5a146e0f1aa242e3066903.tar.gz cuberite-8b9d3c77228b139d5b5a146e0f1aa242e3066903.tar.bz2 cuberite-8b9d3c77228b139d5b5a146e0f1aa242e3066903.tar.lz cuberite-8b9d3c77228b139d5b5a146e0f1aa242e3066903.tar.xz cuberite-8b9d3c77228b139d5b5a146e0f1aa242e3066903.tar.zst cuberite-8b9d3c77228b139d5b5a146e0f1aa242e3066903.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Chunk.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/Chunk.h b/source/Chunk.h index ab110c7cb..63a8f75cd 100644 --- a/source/Chunk.h +++ b/source/Chunk.h @@ -329,6 +329,10 @@ 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); + /// Light alterations based on time + NIBBLETYPE GetTimeAlteredLight(NIBBLETYPE a_Skylight) const; + + // Simulator data: cFireSimulatorChunkData & GetFireSimulatorData (void) { return m_FireSimulatorData; } cFluidSimulatorData * GetWaterSimulatorData(void) { return m_WaterSimulatorData; } |