2012-01-29 11:28:19 -08:00
|
|
|
|
|
|
|
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
|
|
|
|
2011-11-06 01:23:20 -08:00
|
|
|
#include "cLavaSimulator.h"
|
2011-12-25 08:20:06 -08:00
|
|
|
#include "Defines.h"
|
2011-11-06 01:23:20 -08:00
|
|
|
|
|
|
|
|
2011-12-25 08:20:06 -08:00
|
|
|
cLavaSimulator::cLavaSimulator(cWorld *a_World)
|
|
|
|
: cFluidSimulator(a_World)
|
2011-11-06 01:23:20 -08:00
|
|
|
{
|
2011-12-25 08:20:06 -08:00
|
|
|
m_FluidBlock = E_BLOCK_LAVA;
|
|
|
|
m_MaxHeight = 6;
|
|
|
|
m_FlowReduction = 2;
|
2011-11-06 01:23:20 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-12-25 08:20:06 -08:00
|
|
|
bool cLavaSimulator::IsAllowedBlock(char a_BlockID)
|
2011-11-06 01:23:20 -08:00
|
|
|
{
|
2011-12-25 08:20:06 -08:00
|
|
|
return IsBlockLava(a_BlockID);
|
|
|
|
}
|