Minetest  5.4.0
mg_schematic.cpp File Reference
#include <fstream>
#include <typeinfo>
#include "mg_schematic.h"
#include "server.h"
#include "mapgen.h"
#include "emerge.h"
#include "map.h"
#include "mapblock.h"
#include "log.h"
#include "util/numeric.h"
#include "util/serialize.h"
#include "serialization.h"
#include "filesys.h"
#include "voxelalgorithms.h"
+ Include dependency graph for mg_schematic.cpp:

Functions

void generate_nodelist_and_update_ids (MapNode *nodes, size_t nodecount, std::vector< std::string > *usednodes, const NodeDefManager *ndef)
 

Function Documentation

◆ generate_nodelist_and_update_ids()

void generate_nodelist_and_update_ids ( MapNode nodes,
size_t  nodecount,
std::vector< std::string > *  usednodes,
const NodeDefManager ndef 
)

References NodeDefManager::get(), MapNode::getContent(), ContentFeatures::name, and MapNode::setContent().

Referenced by Schematic::saveSchematicToFile().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: