mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 09:05:19 +02:00
Do not expose CONTENT_* stuff in content_mapnode.h and use a name converter wrapper in old code
This commit is contained in:
@@ -43,7 +43,8 @@ namespace mapgen
|
||||
void add_random_objects(MapBlock *block);
|
||||
|
||||
// Add a tree
|
||||
void make_tree(ManualMapVoxelManipulator &vmanip, v3s16 p0, bool is_apple_tree);
|
||||
void make_tree(ManualMapVoxelManipulator &vmanip, v3s16 p0,
|
||||
bool is_apple_tree, INodeDefManager *ndef);
|
||||
|
||||
/*
|
||||
These are used by FarMesh
|
||||
@@ -59,7 +60,7 @@ namespace mapgen
|
||||
u64 seed;
|
||||
v3s16 blockpos;
|
||||
UniqueQueue<v3s16> transforming_liquid;
|
||||
INodeDefManager *nodemgr; // Destructor deletes
|
||||
INodeDefManager *nodedef; // Destructor deletes
|
||||
|
||||
BlockMakeData();
|
||||
~BlockMakeData();
|
||||
|
Reference in New Issue
Block a user