Node definition manager refactor (#7016)
authorDániel Juhász <juhdanad@gmail.com>
Sat, 10 Feb 2018 20:04:16 +0000 (22:04 +0200)
committerSmallJoker <SmallJoker@users.noreply.github.com>
Sat, 10 Feb 2018 20:04:16 +0000 (21:04 +0100)
commit3face01a202040e4feff3b0936b4aa89c051c98d
treeccdad6773aa9705cc07fdc9f71f28bae395f353e
parent617d94c8038e3ff035eaeef7ccdfa4f442feb873
Node definition manager refactor (#7016)

* Rename IWritableNodeDefManager to NodeDefManager
* Make INodeDefManager functions const
* Use "const *NodeDefManager" instead of "*INodeDefManager"
* Remove unused INodeDefManager class
* Merge NodeDefManager and CNodeDefManager
* Document NodeDefManager
61 files changed:
src/camera.cpp
src/client.cpp
src/client.h
src/client/gameui.cpp
src/clientmap.cpp
src/collision.cpp
src/content_cao.cpp
src/content_mapblock.h
src/emerge.h
src/environment.cpp
src/game.cpp
src/gamedef.h
src/localplayer.cpp
src/map.h
src/mapblock.cpp
src/mapblock_mesh.cpp
src/mapblock_mesh.h
src/mapgen/cavegen.cpp
src/mapgen/cavegen.h
src/mapgen/dungeongen.cpp
src/mapgen/dungeongen.h
src/mapgen/mapgen.h
src/mapgen/mapgen_singlenode.cpp
src/mapgen/mapgen_v6.cpp
src/mapgen/mg_schematic.cpp
src/mapgen/mg_schematic.h
src/mapgen/treegen.cpp
src/mapgen/treegen.h
src/mapnode.cpp
src/mapnode.h
src/minimap.h
src/nodedef.cpp
src/nodedef.h
src/objdef.h
src/pathfinder.cpp
src/reflowscan.cpp
src/reflowscan.h
src/rollback_interface.cpp
src/script/common/c_content.cpp
src/script/common/c_content.h
src/script/cpp_api/s_client.cpp
src/script/cpp_api/s_node.cpp
src/script/cpp_api/s_nodemeta.cpp
src/script/lua_api/l_client.cpp
src/script/lua_api/l_env.cpp
src/script/lua_api/l_item.cpp
src/script/lua_api/l_mapgen.cpp
src/script/lua_api/l_vmanip.cpp
src/server.cpp
src/server.h
src/serverenvironment.cpp
src/unittest/test.cpp
src/unittest/test_mapnode.cpp
src/unittest/test_noderesolver.cpp
src/unittest/test_schematic.cpp
src/unittest/test_voxelalgorithms.cpp
src/unittest/test_voxelmanipulator.cpp
src/voxel.cpp
src/voxel.h
src/voxelalgorithms.cpp
src/wieldmesh.cpp