summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-10-15 07:22:29 -0600
committerJared Adams <jaxad0127@gmail.com>2009-10-15 07:22:29 -0600
commit59657fcbfa88a8f7a15bf4350f8addf399e20bda (patch)
treee5a9a856dc80bd55427380383a5953b75c874b4a /src/item.h
parent2f55dd130c886376a45c9d0054dbd987cc055155 (diff)
downloadmana-client-59657fcbfa88a8f7a15bf4350f8addf399e20bda.tar.gz
mana-client-59657fcbfa88a8f7a15bf4350f8addf399e20bda.tar.bz2
mana-client-59657fcbfa88a8f7a15bf4350f8addf399e20bda.tar.xz
mana-client-59657fcbfa88a8f7a15bf4350f8addf399e20bda.zip
Make sure item icons in the invy are full opacity
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/item.h b/src/item.h
index 56995eb6..7e8e0f9c 100644
--- a/src/item.h
+++ b/src/item.h
@@ -59,6 +59,11 @@ class Item
Image *getImage() { return mImage; }
/**
+ * Returns the item image.
+ */
+ Image *getDrawImage() { return mDrawImage; }
+
+ /**
* Sets the number of items.
*/
void setQuantity(int quantity) { mQuantity = quantity; }
@@ -121,6 +126,7 @@ class Item
protected:
int mId; /**< Item type id. */
Image *mImage; /**< Item image. */
+ Image *mDrawImage; /**< Draw image. */
int mQuantity; /**< Number of items. */
bool mEquipment; /**< Item is equipment. */
bool mEquipped; /**< Item is equipped. */