From bd6b90359c654f4c75964755e476a8bfd90114ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Blot?= Date: Wed, 30 Aug 2017 08:09:41 +0200 Subject: Remove DSTACK support (#6346) Debugstacks is not useful, we don't really use it, the DebugStack is not pertinent, gdb and lldb are better if we really want to debug. --- src/map.cpp | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'src/map.cpp') diff --git a/src/map.cpp b/src/map.cpp index 08e5c3990..b2aa7ac35 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -220,7 +220,6 @@ void Map::setNode(v3s16 p, MapNode & n) <<" while trying to replace \"" <get(block->getNodeNoCheck(relpos, &temp_bool)).name <<"\" at "<setNodeNoCheck(relpos, n); @@ -546,9 +545,6 @@ s32 Map::transforming_liquid_size() { void Map::transformLiquids(std::map &modified_blocks, ServerEnvironment *env) { - DSTACK(FUNCTION_NAME); - //TimeTaker timer("transformLiquids()"); - u32 loopcount = 0; u32 initial_size = m_transforming_liquid.size(); @@ -1432,10 +1428,6 @@ void ServerMap::finishBlockMake(BlockMakeData *data, MapSector *ServerMap::createSector(v2s16 p2d) { - DSTACKF("%s: p2d=(%d,%d)", - FUNCTION_NAME, - p2d.X, p2d.Y); - /* Check if it exists already in memory */ @@ -1479,12 +1471,6 @@ MapBlock * ServerMap::generateBlock( std::map &modified_blocks ) { - DSTACKF("%s: p=(%d,%d,%d)", FUNCTION_NAME, p.X, p.Y, p.Z); - - /*infostream<<"generateBlock(): " - <<"("<getBool("enable_mapgen_debug_info"); TimeTaker timer("generateBlock"); @@ -1588,9 +1574,6 @@ MapBlock * ServerMap::generateBlock( MapBlock * ServerMap::createBlock(v3s16 p) { - DSTACKF("%s: p=(%d,%d,%d)", - FUNCTION_NAME, p.X, p.Y, p.Z); - /* Do not create over max mapgen limit */ @@ -1632,10 +1615,6 @@ MapBlock * ServerMap::createBlock(v3s16 p) MapBlock * ServerMap::emergeBlock(v3s16 p, bool create_blank) { - DSTACKF("%s: p=(%d,%d,%d), create_blank=%d", - FUNCTION_NAME, - p.X, p.Y, p.Z, create_blank); - { MapBlock *block = getBlockNoCreateNoEx(p); if (block && !block->isDummy()) @@ -1825,7 +1804,6 @@ std::string ServerMap::getBlockFilename(v3s16 p) void ServerMap::save(ModifiedState save_level) { - DSTACK(FUNCTION_NAME); if (!m_map_saving_enabled) { warningstream<<"Not saving map, saving disabled."<