From 8ed926ea15e8f151b8b81f93a5dccd0d53cf7ca1 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sat, 15 Jan 2005 17:49:01 +0000 Subject: Cleaned up includes, separated engine from graphics and single buffer now used throughout application, cleaned up shop functions. --- src/gui/shop.h | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) (limited to 'src/gui/shop.h') 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 #include -#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 -- cgit v1.2.3-70-g09d2