diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-25 16:34:12 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:51 +0200 |
commit | 18bb0ea1ead82406bcfb89ea14908a4d0063209e (patch) | |
tree | 2141a857259f68c0421ca4349d82711fef6c39e2 /src/content_nodemeta.h | |
parent | 6a8f9135de448d805457e0b1f561c711d760565e (diff) | |
download | minetest-18bb0ea1ead82406bcfb89ea14908a4d0063209e.tar.gz minetest-18bb0ea1ead82406bcfb89ea14908a4d0063209e.tar.bz2 minetest-18bb0ea1ead82406bcfb89ea14908a4d0063209e.zip |
Mode node definition loading from Lua (still not finished), fix metadata creation from name
Diffstat (limited to 'src/content_nodemeta.h')
-rw-r--r-- | src/content_nodemeta.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/content_nodemeta.h b/src/content_nodemeta.h index 2535e985e..8888d6f1f 100644 --- a/src/content_nodemeta.h +++ b/src/content_nodemeta.h @@ -34,6 +34,7 @@ public: virtual const char* typeName() const { return "sign"; } static NodeMetadata* create(std::istream &is, IGameDef *gamedef); + static NodeMetadata* create(IGameDef *gamedef); virtual NodeMetadata* clone(IGameDef *gamedef); virtual void serializeBody(std::ostream &os); virtual std::string infoText(); @@ -56,6 +57,7 @@ public: virtual const char* typeName() const { return "chest"; } static NodeMetadata* create(std::istream &is, IGameDef *gamedef); + static NodeMetadata* create(IGameDef *gamedef); virtual NodeMetadata* clone(IGameDef *gamedef); virtual void serializeBody(std::ostream &os); virtual std::string infoText(); @@ -77,6 +79,7 @@ public: virtual const char* typeName() const { return "locked_chest"; } static NodeMetadata* create(std::istream &is, IGameDef *gamedef); + static NodeMetadata* create(IGameDef *gamedef); virtual NodeMetadata* clone(IGameDef *gamedef); virtual void serializeBody(std::ostream &os); virtual std::string infoText(); @@ -103,6 +106,7 @@ public: { return "furnace"; } virtual NodeMetadata* clone(IGameDef *gamedef); static NodeMetadata* create(std::istream &is, IGameDef *gamedef); + static NodeMetadata* create(IGameDef *gamedef); virtual void serializeBody(std::ostream &os); virtual std::string infoText(); virtual Inventory* getInventory() {return m_inventory;} |