mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +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
|
@ -33,7 +33,7 @@ public:
|
|||
void runTests(IGameDef *gamedef);
|
||||
|
||||
void testVoxelArea();
|
||||
void testVoxelManipulator(INodeDefManager *nodedef);
|
||||
void testVoxelManipulator(const NodeDefManager *nodedef);
|
||||
};
|
||||
|
||||
static TestVoxelManipulator g_test_instance;
|
||||
|
@ -80,7 +80,7 @@ void TestVoxelManipulator::testVoxelArea()
|
|||
}
|
||||
|
||||
|
||||
void TestVoxelManipulator::testVoxelManipulator(INodeDefManager *nodedef)
|
||||
void TestVoxelManipulator::testVoxelManipulator(const NodeDefManager *nodedef)
|
||||
{
|
||||
VoxelManipulator v;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue