diff options
Diffstat (limited to 'src/gui/shop.h')
-rw-r--r-- | src/gui/shop.h | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/src/gui/shop.h b/src/gui/shop.h index c223ef7c..635075a1 100644 --- a/src/gui/shop.h +++ b/src/gui/shop.h @@ -27,29 +27,14 @@ #include <stdlib.h> #include <stdio.h> -#include "inventory.h" - - struct ITEM_SHOP { - char name[30]; - int price; - short id; - int index; - int quantity; - ITEM_SHOP *next; + char name[30]; + int price; + short id; + int index; + int quantity; }; -extern int n_items; -extern char* selectedItem; -extern char itemCurrenyQ[10]; extern char *item_db[]; -char *shop_list(int index, int *list_size); -void changeQ(void *dp3, int d2); -void close_shop(); -short get_item_id(int index); -int get_item_quantity(int index); -int get_item_index(int index); -int get_item_price(int index); - #endif |