mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
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
This commit is contained in:
parent
617d94c803
commit
3face01a20
61 changed files with 583 additions and 457 deletions
|
@ -48,8 +48,8 @@ void VoxelManipulator::clear()
|
|||
m_flags = nullptr;
|
||||
}
|
||||
|
||||
void VoxelManipulator::print(std::ostream &o, INodeDefManager *ndef,
|
||||
VoxelPrintMode mode)
|
||||
void VoxelManipulator::print(std::ostream &o, const NodeDefManager *ndef,
|
||||
VoxelPrintMode mode)
|
||||
{
|
||||
const v3s16 &em = m_area.getExtent();
|
||||
v3s16 of = m_area.MinEdge;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue