From 9a160b380b94ce9b89c93214fe7b9de3f36ed01f Mon Sep 17 00:00:00 2001 From: haranp Date: Tue, 22 Jul 2008 20:21:15 +0000 Subject: Massive change from using x and y to using coord_defs(). Not quite tested, most likely broken in some places and might break tiles. Will fix in the near future. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6636 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/shopping.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/shopping.h') diff --git a/crawl-ref/source/shopping.h b/crawl-ref/source/shopping.h index 48ad569d6a..f434cf31ce 100644 --- a/crawl-ref/source/shopping.h +++ b/crawl-ref/source/shopping.h @@ -24,10 +24,10 @@ int randart_value( const item_def &item ); unsigned int item_value( item_def item, bool ident = false ); void shop(); -shop_struct *get_shop(int sx, int sy); +shop_struct *get_shop(const coord_def& where); -std::string shop_name(int sx, int sy); -std::string shop_name(int sx, int sy, bool add_stop); +std::string shop_name(const coord_def& where); +std::string shop_name(const coord_def& where, bool add_stop); bool shoptype_identifies_stock(shop_type type); -- cgit v1.2.3-54-g00ecf