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

Add core.register_schematic() and cache schematics on use

This commit is contained in:
kwolekr 2015-03-23 22:10:59 -04:00
parent 9fc2b93d9f
commit 732d7b9a7c
3 changed files with 146 additions and 91 deletions

View file

@ -204,6 +204,8 @@ public:
virtual GenElement *getByName(const std::string &name);
INodeDefManager *getNodeDef() { return m_ndef; }
protected:
INodeDefManager *m_ndef;
std::vector<GenElement *> m_elements;