Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
content_mapnode.h File Reference
#include "mapnode.h"
+ Include dependency graph for content_mapnode.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

MapNode mapnode_translate_to_internal (MapNode n_from, u8 version)
 
void content_mapnode_get_name_id_mapping (NameIdMapping *nimap)
 

Variables

content_t trans_table_19 [21][2]
 

Function Documentation

◆ content_mapnode_get_name_id_mapping()

void content_mapnode_get_name_id_mapping ( NameIdMapping * nimap)

References CONTENT_AIR, CONTENT_IGNORE, and NameIdMapping::set().

Referenced by ItemStack::deSerialize(), and MapBlock::deSerialize_pre22().

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

◆ mapnode_translate_to_internal()

MapNode mapnode_translate_to_internal ( MapNode n_from,
u8 version )

References MapNode::getContent(), MapNode::setContent(), and trans_table_19.

Referenced by MapNode::deSerialize_pre22().

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

Variable Documentation

◆ trans_table_19

content_t trans_table_19[21][2]
extern