summaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-21 01:13:46 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-21 01:13:46 +0300
commit76e55447563fae6f8d17f2fd90231c81e0b3f927 (patch)
treefa0b2b5daaa50149329f12b7f47b28901d95cc79 /src/inventory.h
parent8d12abe6ff4114a04b8fc9549e8f44683fed9e3d (diff)
downloadmv-76e55447563fae6f8d17f2fd90231c81e0b3f927.tar.gz
mv-76e55447563fae6f8d17f2fd90231c81e0b3f927.tar.bz2
mv-76e55447563fae6f8d17f2fd90231c81e0b3f927.tar.xz
mv-76e55447563fae6f8d17f2fd90231c81e0b3f927.zip
Add to item field identified.
Diffstat (limited to 'src/inventory.h')
-rw-r--r--src/inventory.h19
1 files changed, 14 insertions, 5 deletions
diff --git a/src/inventory.h b/src/inventory.h
index 702f6c4dd..6ec889a10 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -87,16 +87,25 @@ class Inventory final
/**
* Adds a new item in a free slot.
*/
- void addItem(const int id, const int quantity, const uint8_t refine,
- const unsigned char color, const bool equipment,
+ void addItem(const int id,
+ const int quantity,
+ const uint8_t refine,
+ const unsigned char color,
+ const bool identified,
+ const bool equipment,
const bool equipped);
/**
* Sets the item at the given position.
*/
- void setItem(const int index, const int id, const int quantity,
- const uint8_t refine, const unsigned char color,
- const bool equipment, const bool equipped);
+ void setItem(const int index,
+ const int id,
+ const int quantity,
+ const uint8_t refine,
+ const unsigned char color,
+ const bool identified,
+ const bool equipment,
+ const bool equipped);
/**
* Remove a item from the inventory.