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/inventory.h | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'src/inventory.h') 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. -- cgit v1.2.3-70-g09d2