/* * File: shopping.cc * Summary: Shop keeper functions. * Written by: Linley Henzell * * Modified for Crawl Reference by $Author$ on $Date$ * * Change History (most recent first): * * <1> -/--/-- LRH Created */ #ifndef SHOPPING_H #define SHOPPING_H #include "externs.h" #include "itemname.h" int randart_value( const item_def &item ); // ident == true overrides the item ident level and gives the price // as if the item was fully id'd unsigned int item_value( item_def item, bool ident = false ); void shop(); const shop_struct *get_shop(int sx, int sy); // last updated 06mar2001 {gdl} /* *********************************************************************** * called from: items direct * *********************************************************************** */ const char *shop_name(int sx, int sy); bool shoptype_identifies_stock(int shoptype); #endif