diff options
author | kwolekr <kwolekr@minetest.net> | 2014-12-12 14:07:49 -0500 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2014-12-12 14:08:04 -0500 |
commit | cf8213ea827f38ae5d4b8ef16c396545e3e59657 (patch) | |
tree | e739591704b1776002baa1bde7a4ff86de5f06ad /src/mapgen.h | |
parent | cec141adc1fd0845e27df9b0c88d979dd765e76f (diff) | |
download | minetest-cf8213ea827f38ae5d4b8ef16c396545e3e59657.tar.gz minetest-cf8213ea827f38ae5d4b8ef16c396545e3e59657.tar.bz2 minetest-cf8213ea827f38ae5d4b8ef16c396545e3e59657.zip |
Add minetest.clear_registered_decorations() and clear_registered_ores()
Diffstat (limited to 'src/mapgen.h')
-rw-r--r-- | src/mapgen.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mapgen.h b/src/mapgen.h index b4cfd67ba..03850cd19 100644 --- a/src/mapgen.h +++ b/src/mapgen.h @@ -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; }; |