mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 01:25:20 +02:00
Redefine NodeResolver interface and replace with callback mechanism
This commit is contained in:
@@ -33,7 +33,7 @@ enum BiomeType
|
||||
BIOME_TYPE_FLAT
|
||||
};
|
||||
|
||||
class Biome : public GenElement {
|
||||
class Biome : public GenElement, public NodeResolver {
|
||||
public:
|
||||
u32 flags;
|
||||
|
||||
@@ -51,6 +51,8 @@ public:
|
||||
s16 height_max;
|
||||
float heat_point;
|
||||
float humidity_point;
|
||||
|
||||
virtual void resolveNodeNames(NodeResolveInfo *nri);
|
||||
};
|
||||
|
||||
class BiomeManager : public GenElementManager {
|
||||
|
Reference in New Issue
Block a user