aboutsummaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/inventory.h')
-rw-r--r--src/inventory.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/inventory.h b/src/inventory.h
index ef8c499b1..4aa68d99e 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -56,8 +56,6 @@ public:
// Return the name of the image for this item
virtual std::string getBasename() { return ""; }
// Shall return an image of the item (or NULL)
- virtual video::ITexture * getImageRaw() { return NULL; }
- // Shall return an image to show in the GUI (or NULL)
virtual video::ITexture * getImage() { return NULL; }
#endif
// Shall return a text to show in the GUI
@@ -156,7 +154,6 @@ public:
video::ITexture * getImage()
{
return content_features(m_content).inventory_texture;
- return NULL;
}
#endif
std::string getText()
@@ -388,14 +385,6 @@ public:
return "cloud.png";
}
- video::ITexture * getImageRaw()
- {
- if(g_texturesource == NULL)
- return NULL;
-
- return g_texturesource->getTextureRaw(getBasename());
- }
-
video::ITexture * getImage()
{
if(g_texturesource == NULL)