1
0
mirror of https://github.com/minetest/minetest.git synced 2025-07-01 07:30:23 +02:00

little fixes

This commit is contained in:
Perttu Ahola
2010-12-14 02:24:00 +02:00
parent 3d49c88e81
commit c951ce3b7c
4 changed files with 8 additions and 11 deletions

View File

@ -187,7 +187,6 @@ SUGG: Signs could be done in the same way as torches. For this, blocks
Doing now:
======================================================================
TODO: A mapper to map contents to tile names (for each side)
======================================================================

View File

@ -875,11 +875,10 @@ void VoxelManipulator::flowWater(
return;
}
TimeTaker timer1("flowWater (active_nodes)", g_device);
//TimeTaker timer1("flowWater (active_nodes)", g_device);
dstream<<"active_nodes.size() = "<<active_nodes.size()<<std::endl;
//dstream<<"active_nodes.size() = "<<active_nodes.size()<<std::endl;
//int counter = 0;
u32 stoptime = 0;
if(g_device != NULL)
@ -951,23 +950,21 @@ void VoxelManipulator::flowWater(
//dstream<<"getWaterPressure ProcessingLimitException"<<std::endl;
}
v3s16 e = m_area.getExtent();
/*v3s16 e = m_area.getExtent();
s32 v = m_area.getVolume();
//dstream<<"flowWater (active): moved "<<counter<<" nodes, "
dstream<<"flowWater (active): "
<<"area ended up as "
<<e.X<<"x"<<e.Y<<"x"<<e.Z<<" = "<<v
<<", handled a_node count: "<<handled_count
<<", active_nodes.size() = "<<active_nodes.size()
<<std::endl;
dstream<<"addarea_time: "<<addarea_time
<<", emerge_time: "<<emerge_time
<<", emerge_load_time: "<<emerge_load_time
<<", clearflag_time: "<<clearflag_time
<<", flowwater_pre_time: "<<flowwater_pre_time
<<", updateareawaterpressure_time: "<<updateareawaterpressure_time
<<std::endl;
<<std::endl;*/
}