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
|
@ -29,7 +29,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include <list>
|
||||
#include "util/basic_macros.h"
|
||||
|
||||
class INodeDefManager;
|
||||
class NodeDefManager;
|
||||
|
||||
// For VC++
|
||||
#undef min
|
||||
|
@ -449,7 +449,7 @@ public:
|
|||
|
||||
virtual void clear();
|
||||
|
||||
void print(std::ostream &o, INodeDefManager *nodemgr,
|
||||
void print(std::ostream &o, const NodeDefManager *nodemgr,
|
||||
VoxelPrintMode mode=VOXELPRINT_MATERIAL);
|
||||
|
||||
void addArea(const VoxelArea &area);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue