Skip to content
Snippets Groups Projects
Commit c951ce3b authored by Perttu Ahola's avatar Perttu Ahola
Browse files

little fixes

parent 3d49c88e
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@ cp minetest.conf.example $PACKAGEPATH/
cp bin/minetest.exe $PACKAGEPATH/bin/
cp bin/Irrlicht.dll $PACKAGEPATH/bin/
cp bin/zlibwapi.dll $PACKAGEPATH/bin/
#cp bin/test $PACKAGEPATH/bin/
cp bin/fasttest $PACKAGEPATH/bin/
cp ../irrlicht/irrlicht-1.7.1/lib/Linux/libIrrlicht.a $PACKAGEPATH/bin/
......
......@@ -36,10 +36,10 @@
# H=slope.dot(pos^power):
# power <height> <slope.X> <slope.Y> <power>
#mapgen_heightmap_blocksize = 64
#height_randmax = constant 70.0
#mapgen_heightmap_blocksize = 32
#height_randmax = constant 50.0
#height_randfactor = constant 0.6
#height_base = linear 0 35 0
#height_base = linear 0 0 0
#plants_amount = 1.0
#ravines_amount = 1.0
......
......@@ -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)
======================================================================
......
......@@ -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;*/
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment