summaryrefslogtreecommitdiffstats
path: root/source/FluidSimulator.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-03 10:52:11 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-03 10:52:11 +0200
commitea2ed2c918bddf773bb8d10298016f4e5309d0b2 (patch)
tree129848747361501cbc2e330e1a33b7f8089f51b2 /source/FluidSimulator.h
parentsTick: Updated the plugin to work with current code (diff)
downloadcuberite-ea2ed2c918bddf773bb8d10298016f4e5309d0b2.tar
cuberite-ea2ed2c918bddf773bb8d10298016f4e5309d0b2.tar.gz
cuberite-ea2ed2c918bddf773bb8d10298016f4e5309d0b2.tar.bz2
cuberite-ea2ed2c918bddf773bb8d10298016f4e5309d0b2.tar.lz
cuberite-ea2ed2c918bddf773bb8d10298016f4e5309d0b2.tar.xz
cuberite-ea2ed2c918bddf773bb8d10298016f4e5309d0b2.tar.zst
cuberite-ea2ed2c918bddf773bb8d10298016f4e5309d0b2.zip
Diffstat (limited to 'source/FluidSimulator.h')
-rw-r--r--source/FluidSimulator.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/FluidSimulator.h b/source/FluidSimulator.h
index 20d86b1b8..09d9520ef 100644
--- a/source/FluidSimulator.h
+++ b/source/FluidSimulator.h
@@ -29,11 +29,11 @@ public:
//Gets the flowing direction. if a_Over is true also the block over the current block affects the direction (standard)
Direction GetFlowingDirection(int a_X, int a_Y, int a_Z, bool a_Over = true);
- virtual bool IsAllowedBlock( BLOCKTYPE a_BlockID ) = 0;
- virtual bool IsStationaryBlock( BLOCKTYPE a_BlockID);
- virtual bool IsPassableForFluid( BLOCKTYPE a_BlockID );
- bool CanWashAway( BLOCKTYPE a_BlockID );
- bool IsSolidBlock(BLOCKTYPE a_BlockID);
+ virtual bool IsAllowedBlock( BLOCKTYPE a_BlockType ) = 0;
+ virtual bool IsStationaryBlock( BLOCKTYPE a_BlockType);
+ virtual bool IsPassableForFluid( BLOCKTYPE a_BlockType );
+ bool CanWashAway( BLOCKTYPE a_BlockType );
+ bool IsSolidBlock(BLOCKTYPE a_BlockType);
protected:
virtual void AddBlock( int a_X, int a_Y, int a_Z);
char GetHighestLevelAround( int a_X, int a_Y, int a_Z );