Various style cleanups + unused code removal
authorest31 <MTest31@outlook.com>
Fri, 18 Sep 2015 11:45:42 +0000 (13:45 +0200)
committerest31 <MTest31@outlook.com>
Sat, 19 Sep 2015 18:57:29 +0000 (20:57 +0200)
commit452df1c723722183ebf3a332f7bcc355be5b2998
treecfba8eaa11c7bdc1d6c245bfa85c973597bccc3c
parent9c635f28ac2b103bf7196e47947bf64673c13393
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
src/content_mapnode.cpp
src/content_mapnode.h
src/content_nodemeta.cpp
src/content_nodemeta.h
src/mapblock.cpp
src/mapgen.cpp
src/mapgen_v6.cpp
src/nodemetadata.cpp
src/nodemetadata.h
src/rollback_interface.cpp
src/script/lua_api/l_nodemeta.cpp