summaryrefslogtreecommitdiff
path: root/src/content_mapnode.h
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-09-18 13:45:42 +0200
committerest31 <MTest31@outlook.com>2015-09-19 20:57:29 +0200
commit452df1c723722183ebf3a332f7bcc355be5b2998 (patch)
treecfba8eaa11c7bdc1d6c245bfa85c973597bccc3c /src/content_mapnode.h
parent9c635f28ac2b103bf7196e47947bf64673c13393 (diff)
downloadminetest-452df1c723722183ebf3a332f7bcc355be5b2998.tar.gz
minetest-452df1c723722183ebf3a332f7bcc355be5b2998.tar.bz2
minetest-452df1c723722183ebf3a332f7bcc355be5b2998.zip
Various style cleanups + unused code removal
-> Don't pass pointer to whole IGameDef to NodeMetadata constructors and deserializers, but only to IItemDefManager, which is needed -> Remove the unused content_mapnode_get_new_name() method -> Fix style for MapBlock::deSerialize and MapBlock::deSerialize_pre22, improving accuracy of error messages a bit -> Fix style at other serialisation methods too -> Improve accuracy of some comments
Diffstat (limited to 'src/content_mapnode.h')
-rw-r--r--src/content_mapnode.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/content_mapnode.h b/src/content_mapnode.h
index 5d68afe59..9fa4e6d13 100644
--- a/src/content_mapnode.h
+++ b/src/content_mapnode.h
@@ -34,8 +34,4 @@ MapNode mapnode_translate_to_internal(MapNode n_from, u8 version);
class NameIdMapping;
void content_mapnode_get_name_id_mapping(NameIdMapping *nimap);
-// Convert "CONTENT_STONE"-style names to dynamic ids
-std::string content_mapnode_get_new_name(const std::string &oldname);
-class INodeDefManager;
-
#endif