1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Furnace is now usable. Added more tools.

--HG--
rename : data/tool_stpick.png => data/tool_stonepick.png
rename : data/tool_wpick.png => data/tool_woodpick.png
This commit is contained in:
Perttu Ahola 2011-04-05 18:23:30 +03:00
parent 5b4928e07c
commit 89aa8b9be1
22 changed files with 421 additions and 101 deletions

View file

@ -61,6 +61,7 @@ public:
virtual void inventoryModified(){}
// A step in time. Returns true if metadata changed.
virtual bool step(float dtime) {return false;}
virtual bool nodeRemovalDisabled(){return false;}
protected:
static void registerType(u16 id, Factory f);
@ -100,6 +101,8 @@ public:
virtual std::string infoText();
virtual Inventory* getInventory() {return m_inventory;}
virtual bool nodeRemovalDisabled();
private:
Inventory *m_inventory;
};