summaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2011-09-19 03:01:11 +0200
committerKahrl <kahrl@gmx.net>2011-09-19 03:01:11 +0200
commit36bcbca9acabbc47976d3d7625ffb1c9396b8fdc (patch)
tree25f4bf2dcba98871bb303cb77e0cf595ecadebab /src/inventory.h
parent4ed837bcfa2d9601c6b5c3d2e8d37ad9f5a6e2a6 (diff)
downloadminetest-36bcbca9acabbc47976d3d7625ffb1c9396b8fdc.tar.gz
minetest-36bcbca9acabbc47976d3d7625ffb1c9396b8fdc.tar.bz2
minetest-36bcbca9acabbc47976d3d7625ffb1c9396b8fdc.zip
Added sprite extruder
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)