1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

moved inventory menu definition of chest and furnace to content_nodemeta.{h,cpp}

This commit is contained in:
Perttu Ahola 2011-06-18 02:00:01 +03:00
parent da692355e8
commit 931474658d
7 changed files with 146 additions and 55 deletions

View file

@ -62,6 +62,9 @@ public:
// A step in time. Returns true if metadata changed.
virtual bool step(float dtime) {return false;}
virtual bool nodeRemovalDisabled(){return false;}
// Used to make custom inventory menus.
// See format in guiInventoryMenu.cpp.
virtual std::string getInventoryDrawSpecString(){return "";}
protected:
static void registerType(u16 id, Factory f);