aboutsummaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2010-12-21 18:08:24 +0200
committerPerttu Ahola <celeron55@gmail.com>2010-12-21 18:08:24 +0200
commit3f5bad938a3fcb601ad41924a4707476b8b87241 (patch)
treeddf9d7d49a93c092c31fcbdd6bf1c2ad42e43bc8 /src/inventory.h
parent3b0bff2f743a3abf100368f94efafa7c2843a9b7 (diff)
downloaddragonfireclient-3f5bad938a3fcb601ad41924a4707476b8b87241.tar.xz
organizing stuff.
Diffstat (limited to 'src/inventory.h')
-rw-r--r--src/inventory.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/inventory.h b/src/inventory.h
index 59ff89ed8..354111045 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -46,8 +46,10 @@ public:
virtual void serialize(std::ostream &os) = 0;
// Shall make an exact clone of the item
virtual InventoryItem* clone() = 0;
+#ifndef SERVER
// 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
virtual std::string getText() { return ""; }
@@ -175,7 +177,9 @@ public:
return new MapBlockObjectItem(m_inventorystring);
}
+#ifndef SERVER
video::ITexture * getImage();
+#endif
std::string getText();
/*