1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Do not expose CONTENT_* stuff in content_mapnode.h and use a name converter wrapper in old code

This commit is contained in:
Perttu Ahola 2011-11-16 14:08:31 +02:00
parent c0f6395cf0
commit df8346ef4d
14 changed files with 447 additions and 377 deletions

View file

@ -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();