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:
parent
cec141adc1
commit
cf8213ea82
12 changed files with 97 additions and 11 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue