summaryrefslogtreecommitdiffstats
path: root/source/Simulator/FloodyFluidSimulator.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-02 16:44:31 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-02 16:44:31 +0100
commit66670f5d5ccabb3b560c2342d79d0cb1e8550899 (patch)
tree8699a9d7ba78f7525b16f896d07525b7cabb3849 /source/Simulator/FloodyFluidSimulator.h
parentCore: Updated with new features (contributed by STR_Warrior) (diff)
downloadcuberite-66670f5d5ccabb3b560c2342d79d0cb1e8550899.tar
cuberite-66670f5d5ccabb3b560c2342d79d0cb1e8550899.tar.gz
cuberite-66670f5d5ccabb3b560c2342d79d0cb1e8550899.tar.bz2
cuberite-66670f5d5ccabb3b560c2342d79d0cb1e8550899.tar.lz
cuberite-66670f5d5ccabb3b560c2342d79d0cb1e8550899.tar.xz
cuberite-66670f5d5ccabb3b560c2342d79d0cb1e8550899.tar.zst
cuberite-66670f5d5ccabb3b560c2342d79d0cb1e8550899.zip
Diffstat (limited to 'source/Simulator/FloodyFluidSimulator.h')
-rw-r--r--source/Simulator/FloodyFluidSimulator.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/Simulator/FloodyFluidSimulator.h b/source/Simulator/FloodyFluidSimulator.h
index ec3ab044a..e6ce38d61 100644
--- a/source/Simulator/FloodyFluidSimulator.h
+++ b/source/Simulator/FloodyFluidSimulator.h
@@ -36,16 +36,16 @@ protected:
int m_NumNeighborsForSource;
// cDelayedFluidSimulator overrides:
- virtual void SimulateBlock(int a_BlockX, int a_BlockY, int a_BlockZ) override;
+ virtual void SimulateBlock(cChunk * a_Chunk, int a_RelX, int a_RelY, int a_RelZ) override;
/// Checks tributaries, if not fed, decreases the block's level and returns true
- bool CheckTributaries(int a_BlockX, int a_BlockY, int a_BlockZ, const cBlockArea & a_Area, NIBBLETYPE a_MyMeta);
+ bool CheckTributaries(cChunk * a_Chunk, int a_RelX, int a_RelY, int a_RelZ, NIBBLETYPE a_MyMeta);
/// Spreads into the specified block, if the blocktype there allows. a_Area is for checking.
- void SpreadToNeighbor(int a_BlockX, int a_BlockY, int a_BlockZ, const cBlockArea & a_Area, NIBBLETYPE a_NewMeta);
+ void SpreadToNeighbor(cChunk * a_NearChunk, int a_RelX, int a_RelY, int a_RelZ, NIBBLETYPE a_NewMeta);
/// Checks if there are enough neighbors to create a source at the coords specified; turns into source and returns true if so
- bool CheckNeighborsForSource(int a_BlockX, int a_BlockY, int a_BlockZ, const cBlockArea & a_Area);
+ bool CheckNeighborsForSource(cChunk * a_Chunk, int a_RelX, int a_RelY, int a_RelZ);
} ;