summaryrefslogtreecommitdiff
path: root/src/shopitem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-03 23:13:07 +0200
committerAndrei Karas <akaras@inbox.ru>2011-03-03 23:13:07 +0200
commit9437d4943a8b299b057020ee114b230399965abd (patch)
tree54e8d1bca3c2f5457db8402fcdfe1b9e04df54f7 /src/shopitem.h
parentbb73cadd0afdc9fa55ea66ecedd8be53a6f3198e (diff)
downloadmanaplus-9437d4943a8b299b057020ee114b230399965abd.tar.gz
manaplus-9437d4943a8b299b057020ee114b230399965abd.tar.bz2
manaplus-9437d4943a8b299b057020ee114b230399965abd.tar.xz
manaplus-9437d4943a8b299b057020ee114b230399965abd.zip
Add colors to buy/sell dialogs.
Diffstat (limited to 'src/shopitem.h')
-rw-r--r--src/shopitem.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/shopitem.h b/src/shopitem.h
index 01356f3ae..5d78b918c 100644
--- a/src/shopitem.h
+++ b/src/shopitem.h
@@ -42,7 +42,8 @@ class ShopItem : public Item
* @param quantity number of available copies of the item
* @param price price of the item
*/
- ShopItem(int inventoryIndex, int id, int quantity, int price);
+ ShopItem(int inventoryIndex, int id, unsigned char color,
+ int quantity, int price);
/**
* Constructor. Creates a new ShopItem. Inventory index will be set to
@@ -51,7 +52,7 @@ class ShopItem : public Item
* @param id the id of the item
* @param price price of the item
*/
- ShopItem(int id, int price);
+ ShopItem(int id, unsigned char color, int price);
/**
* Destructor.