diff options
Diffstat (limited to 'src/mg_schematic.h')
-rw-r--r-- | src/mg_schematic.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mg_schematic.h b/src/mg_schematic.h index 63cea21f6..296e7b104 100644 --- a/src/mg_schematic.h +++ b/src/mg_schematic.h @@ -29,6 +29,7 @@ class Mapgen; class MMVManip; class PseudoRandom; class NodeResolver; +class IGameDef; /* Minetest Schematic File Format @@ -121,7 +122,9 @@ public: class SchematicManager : public ObjDefManager { public: SchematicManager(IGameDef *gamedef); - ~SchematicManager() {} + virtual ~SchematicManager() {} + + virtual void clear(); const char *getObjectTitle() const { @@ -132,6 +135,9 @@ public: { return new Schematic; } + +private: + IGameDef *m_gamedef; }; void build_nnlist_and_update_ids(MapNode *nodes, u32 nodecount, |