summaryrefslogtreecommitdiff
path: root/src/content_nodemeta.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/content_nodemeta.h')
-rw-r--r--src/content_nodemeta.h4
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;}