From 673bdae75485d14f759af597c3c62b99601f9a43 Mon Sep 17 00:00:00 2001 From: peterb12 Date: Thu, 21 Jul 2005 02:34:44 +0000 Subject: Initial revision git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3 c06c8d41-db1a-0410-9941-cceddc491573 --- trunk/source/shopping.h | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 trunk/source/shopping.h (limited to 'trunk/source/shopping.h') diff --git a/trunk/source/shopping.h b/trunk/source/shopping.h new file mode 100644 index 0000000000..df6936deb0 --- /dev/null +++ b/trunk/source/shopping.h @@ -0,0 +1,43 @@ +/* + * File: shopping.cc + * Summary: Shop keeper functions. + * Written by: Linley Henzell + * + * Change History (most recent first): + * + * <1> -/--/-- LRH Created + */ + + +#ifndef SHOPPING_H +#define SHOPPING_H + +#include "externs.h" + +int randart_value( const item_def &item ); + +// last updated 12may2000 {dlb} +/* *********************************************************************** + * called from: chardump - invent - ouch - religion - shopping + * *********************************************************************** */ + +// 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, char id[4][50], bool ident = false ); + + +// last updated 12may2000 {dlb} +/* *********************************************************************** + * called from: misc + * *********************************************************************** */ +void shop(void); + + + +// last updated 06mar2001 {gdl} +/* *********************************************************************** + * called from: items direct + * *********************************************************************** */ +const char *shop_name(int sx, int sy); + +#endif -- cgit v1.2.3-54-g00ecf