From 76e55447563fae6f8d17f2fd90231c81e0b3f927 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 21 Oct 2014 01:13:46 +0300 Subject: Add to item field identified. --- src/item.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/item.h') diff --git a/src/item.h b/src/item.h index be6820d2a..fbc6abac6 100644 --- a/src/item.h +++ b/src/item.h @@ -44,6 +44,7 @@ class Item notfinal const int quantity, const uint8_t refine, const uint8_t color, + const bool identified, const bool equipment, const bool equipped); @@ -168,6 +169,12 @@ class Item notfinal const std::string &getDescription() const A_WARN_UNUSED { return mDescription; } + void setIdentified(const bool b) + { mIdentified = b; } + + bool getIdentified() const A_WARN_UNUSED + { return mIdentified; } + int mId; /**< Item type id. */ unsigned char mColor; int mQuantity; /**< Number of items. */ @@ -181,6 +188,9 @@ class Item notfinal bool mEquipment; /**< Item is equipment. */ bool mEquipped; /**< Item is equipped. */ bool mInEquipment; /**< Item is in equipment */ + bool mIdentified; + bool mDamaged; + bool mFavorite; }; #endif // ITEM_H -- cgit v1.2.3-60-g2f50