commented out old water stuff
parent
daacaf4e02
commit
7274b82ef4
|
@ -264,6 +264,7 @@ void VoxelManipulator::clearFlag(u8 flags)
|
||||||
<<volume<<" nodes"<<std::endl;*/
|
<<volume<<" nodes"<<std::endl;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
int VoxelManipulator::getWaterPressure(v3s16 p, s16 &highest_y, int recur_count)
|
int VoxelManipulator::getWaterPressure(v3s16 p, s16 &highest_y, int recur_count)
|
||||||
{
|
{
|
||||||
m_flags[m_area.index(p)] |= VOXELFLAG_CHECKED2;
|
m_flags[m_area.index(p)] |= VOXELFLAG_CHECKED2;
|
||||||
|
@ -894,6 +895,6 @@ void VoxelManipulator::flowWater(
|
||||||
<<", updateareawaterpressure_time: "<<updateareawaterpressure_time
|
<<", updateareawaterpressure_time: "<<updateareawaterpressure_time
|
||||||
<<std::endl;*/
|
<<std::endl;*/
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
//END
|
//END
|
||||||
|
|
|
@ -396,7 +396,8 @@ public:
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void clearFlag(u8 flag);
|
void clearFlag(u8 flag);
|
||||||
|
|
||||||
|
#if 0
|
||||||
// VOXELFLAG_CHECKED2s must usually be cleared before calling
|
// VOXELFLAG_CHECKED2s must usually be cleared before calling
|
||||||
// -1: dead end, 0-255: pressure
|
// -1: dead end, 0-255: pressure
|
||||||
// highest_y: Highest found water y is stored here.
|
// highest_y: Highest found water y is stored here.
|
||||||
|
@ -450,6 +451,7 @@ public:
|
||||||
bool debugprint=false,
|
bool debugprint=false,
|
||||||
u32 timelimit=50
|
u32 timelimit=50
|
||||||
);
|
);
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Virtual functions
|
Virtual functions
|
||||||
|
|
Loading…
Reference in New Issue