Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
content_mapnode.h
Go to the documentation of this file.
1// Luanti
2// SPDX-License-Identifier: LGPL-2.1-or-later
3// Copyright (C) 2010-2013 celeron55, Perttu Ahola <celeron55@gmail.com>
4
5#pragma once
6
7#include "mapnode.h"
8
9/*
10 Legacy node definitions
11*/
12
13// Backwards compatibility for non-extended content types in v19
14extern content_t trans_table_19[21][2];
16
17// Get legacy node name mapping for loading old blocks
18class NameIdMapping;
Definition nameidmapping.h:17
content_t trans_table_19[21][2]
Definition content_mapnode.cpp:66
void content_mapnode_get_name_id_mapping(NameIdMapping *nimap)
Definition content_mapnode.cpp:106
MapNode mapnode_translate_to_internal(MapNode n_from, u8 version)
Definition content_mapnode.cpp:90
u16 content_t
Definition mapnode.h:22
Definition mapnode.h:124