diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-10-15 07:22:29 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-10-15 07:22:29 -0600 |
commit | 59657fcbfa88a8f7a15bf4350f8addf399e20bda (patch) | |
tree | e5a9a856dc80bd55427380383a5953b75c874b4a /src/item.h | |
parent | 2f55dd130c886376a45c9d0054dbd987cc055155 (diff) | |
download | mana-59657fcbfa88a8f7a15bf4350f8addf399e20bda.tar.gz mana-59657fcbfa88a8f7a15bf4350f8addf399e20bda.tar.bz2 mana-59657fcbfa88a8f7a15bf4350f8addf399e20bda.tar.xz mana-59657fcbfa88a8f7a15bf4350f8addf399e20bda.zip |
Make sure item icons in the invy are full opacity
Diffstat (limited to 'src/item.h')
-rw-r--r-- | src/item.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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. */ |