From ecfe6ab65bd1fc2c7f5733fe6ef4e6ddaac44a26 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 23 Sep 2012 22:09:57 +0000 Subject: Source files cleanup: The rest of the files renamed. git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/LavaSimulator.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 source/LavaSimulator.cpp (limited to 'source/LavaSimulator.cpp') diff --git a/source/LavaSimulator.cpp b/source/LavaSimulator.cpp new file mode 100644 index 000000000..15cf5591c --- /dev/null +++ b/source/LavaSimulator.cpp @@ -0,0 +1,20 @@ +#include "Globals.h" +#include "LavaSimulator.h" +#include "Defines.h" +#include "World.h" + + +cLavaSimulator::cLavaSimulator(cWorld *a_World) + : cFluidSimulator(a_World) +{ + m_FluidBlock = E_BLOCK_LAVA; + m_StationaryFluidBlock = E_BLOCK_STATIONARY_LAVA; + m_MaxHeight = 6; + m_FlowReduction = 2; +} + + +bool cLavaSimulator::IsAllowedBlock(char a_BlockID) +{ + return IsBlockLava(a_BlockID); +} \ No newline at end of file -- cgit v1.2.3