mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add minetest.clear_registered_biomes() api
This commit is contained in:
parent
f3abaec83b
commit
60feb4ad25
6 changed files with 51 additions and 19 deletions
|
@ -181,9 +181,9 @@ public:
|
|||
virtual GenElement *get(u32 id);
|
||||
virtual GenElement *update(u32 id, GenElement *elem);
|
||||
virtual GenElement *remove(u32 id);
|
||||
virtual void clear();
|
||||
|
||||
virtual GenElement *getByName(const char *name);
|
||||
virtual GenElement *getByName(std::string &name);
|
||||
virtual GenElement *getByName(const std::string &name);
|
||||
|
||||
protected:
|
||||
std::vector<GenElement *> m_elements;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue