summaryrefslogtreecommitdiff
path: root/src/gui/shop.h
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2004-10-02 10:40:58 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2004-10-02 10:40:58 +0000
commitace84beb9ef458b49d2c502c13f70c1aa6cc5da3 (patch)
tree7c034cb33f3c2c317a3acb98f44adc34b53d5df5 /src/gui/shop.h
parentcc2cf7a80788b725b5ce4ba616969172c62e9f8b (diff)
downloadmana-ace84beb9ef458b49d2c502c13f70c1aa6cc5da3.tar.gz
mana-ace84beb9ef458b49d2c502c13f70c1aa6cc5da3.tar.bz2
mana-ace84beb9ef458b49d2c502c13f70c1aa6cc5da3.tar.xz
mana-ace84beb9ef458b49d2c502c13f70c1aa6cc5da3.zip
*** empty log message ***
Diffstat (limited to 'src/gui/shop.h')
-rw-r--r--src/gui/shop.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/shop.h b/src/gui/shop.h
index b8051536..5aa8548a 100644
--- a/src/gui/shop.h
+++ b/src/gui/shop.h
@@ -29,6 +29,8 @@
#include <stdlib.h>
#include <stdio.h>
+#include "../graphic/graphic.h"
+
struct ITEM_SHOP {
char name[30];
int price;
@@ -39,7 +41,8 @@ struct ITEM_SHOP {
extern int n_items;
char *shop_list(int index, int *list_size);
-void add_item(short id, int price);
+void add_buy_item(short id, int price);
+void add_sell_item(short index, int price);
void close_shop();
short get_item_id(int index);