From 9437d4943a8b299b057020ee114b230399965abd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 3 Mar 2011 23:13:07 +0200 Subject: Add colors to buy/sell dialogs. --- src/shopitem.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/shopitem.h') 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. -- cgit v1.2.3-60-g2f50