From 5b7de82a79e3f18affcffd686484a681d187942a Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 14 Oct 2012 17:06:21 +0000 Subject: Initial Floody fluid simulator. Can spread, cannot dry. git-svn-id: http://mc-server.googlecode.com/svn/trunk@963 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Simulator/ClassicFluidSimulator.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'source/Simulator/ClassicFluidSimulator.cpp') diff --git a/source/Simulator/ClassicFluidSimulator.cpp b/source/Simulator/ClassicFluidSimulator.cpp index 70dbd0f6f..232e8205d 100644 --- a/source/Simulator/ClassicFluidSimulator.cpp +++ b/source/Simulator/ClassicFluidSimulator.cpp @@ -300,15 +300,6 @@ void cClassicFluidSimulator::AddBlock(int a_BlockX, int a_BlockY, int a_BlockZ) -bool cClassicFluidSimulator::IsAllowedBlock(BLOCKTYPE a_BlockType) -{ - return ((a_BlockType == m_FluidBlock) || (a_BlockType == m_StationaryFluidBlock)); -} - - - - - NIBBLETYPE cClassicFluidSimulator::GetHighestLevelAround(int a_BlockX, int a_BlockY, int a_BlockZ) { NIBBLETYPE Max = m_MaxHeight + m_Falloff; -- cgit v1.2.3