diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-11-18 23:30:34 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-11-18 23:30:34 +0100 |
commit | bc1e236d547479833cc4f8d8218064cbdb9dfc0d (patch) | |
tree | 8b40bc3a6d5a7b6828d72095afc7c8dfbf5137d5 /source/Chunk.h | |
parent | Mineshafts: silenced a compiler warning. (diff) | |
download | cuberite-bc1e236d547479833cc4f8d8218064cbdb9dfc0d.tar cuberite-bc1e236d547479833cc4f8d8218064cbdb9dfc0d.tar.gz cuberite-bc1e236d547479833cc4f8d8218064cbdb9dfc0d.tar.bz2 cuberite-bc1e236d547479833cc4f8d8218064cbdb9dfc0d.tar.lz cuberite-bc1e236d547479833cc4f8d8218064cbdb9dfc0d.tar.xz cuberite-bc1e236d547479833cc4f8d8218064cbdb9dfc0d.tar.zst cuberite-bc1e236d547479833cc4f8d8218064cbdb9dfc0d.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 63a8f75cd..0d7479347 100644 --- a/source/Chunk.h +++ b/source/Chunk.h @@ -6,6 +6,7 @@ #include "Simulator/FireSimulator.h" #include "Simulator/SandSimulator.h" +#include "Simulator/RedstoneSimulator.h" @@ -338,6 +339,7 @@ public: cFluidSimulatorData * GetWaterSimulatorData(void) { return m_WaterSimulatorData; } cFluidSimulatorData * GetLavaSimulatorData (void) { return m_LavaSimulatorData; } cSandSimulatorChunkData & GetSandSimulatorData (void) { return m_SandSimulatorData; } + cRedstoneSimulatorChunkData & GetRedstoneSimulatorData(void) { return m_RedstoneSimulatorData; } cBlockEntity * GetBlockEntity(int a_BlockX, int a_BlockY, int a_BlockZ); cBlockEntity * GetBlockEntity(const Vector3i & a_BlockPos) { return GetBlockEntity(a_BlockPos.x, a_BlockPos.y, a_BlockPos.z); } @@ -407,6 +409,7 @@ private: cFluidSimulatorData * m_WaterSimulatorData; cFluidSimulatorData * m_LavaSimulatorData; cSandSimulatorChunkData m_SandSimulatorData; + cRedstoneSimulatorChunkData m_RedstoneSimulatorData; // pick up a random block of this chunk |