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:
parent
da692355e8
commit
931474658d
7 changed files with 146 additions and 55 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue