From 43a28f04fa3ddf4b612f58c25a896293a01567e3 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 15 Oct 2011 02:28:57 +0300 Subject: mobv2 --- src/inventory.h | 51 --------------------------------------------------- 1 file changed, 51 deletions(-) (limited to 'src/inventory.h') diff --git a/src/inventory.h b/src/inventory.h index 3e05015ef..490cab73e 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -29,7 +29,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include "common_irrlicht.h" #include "debug.h" -#include "mapblockobject.h" #include "main.h" // For g_materials #include "mapnode.h" // For content_t @@ -196,56 +195,6 @@ private: content_t m_content; }; -//TODO: Remove -class MapBlockObjectItem : public InventoryItem -{ -public: - MapBlockObjectItem(std::string inventorystring): - InventoryItem(1) - { - m_inventorystring = inventorystring; - } - - /* - Implementation interface - */ - virtual const char* getName() const - { - return "MBOItem"; - } - virtual void serialize(std::ostream &os) const - { - std::string sane_string(m_inventorystring); - str_replace_char(sane_string, '|', '?'); - os<