summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/item.h b/src/item.h
index be35e0b17..05ab7d011 100644
--- a/src/item.h
+++ b/src/item.h
@@ -170,18 +170,19 @@ class Item
std::string &getDescription()
{ return mDescription; }
- protected:
int mId; /**< Item type id. */
+ unsigned char mColor;
+ int mQuantity; /**< Number of items. */
+
+ protected:
Image *mImage; /**< Item image. */
Image *mDrawImage; /**< Draw image. */
- int mQuantity; /**< Number of items. */
bool mEquipment; /**< Item is equipment. */
bool mEquipped; /**< Item is equipped. */
bool mInEquipment; /**< Item is in equipment */
int mRefine; /**< Item refine level. */
int mInvIndex; /**< Inventory index. */
std::string mDescription;
- unsigned char mColor;
std::map <int, int> mTags;
};