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

Add minetest.clear_registered_decorations() and clear_registered_ores()

This commit is contained in:
kwolekr 2014-12-12 14:07:49 -05:00
parent cec141adc1
commit cf8213ea82
12 changed files with 97 additions and 11 deletions

View file

@ -178,7 +178,7 @@ public:
static const char *ELEMENT_TITLE;
static const size_t ELEMENT_LIMIT = -1;
GenElementManager() {}
GenElementManager(IGameDef *gamedef);
virtual ~GenElementManager();
virtual GenElement *create(int type) = 0;
@ -192,6 +192,7 @@ public:
virtual GenElement *getByName(const std::string &name);
protected:
NodeResolver *m_resolver;
std::vector<GenElement *> m_elements;
};