summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/shopping.cc
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-05 01:33:53 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-05 01:33:53 +0000
commit62f7040f14b39e67042be98f951575fbc819e84e (patch)
treed4fa0598a1bee1d34fff81e2c150de08c2256753 /crawl-ref/source/shopping.cc
parent19155f1f85058ef9d65d11e60c63cc69c36d4e8a (diff)
downloadcrawl-ref-62f7040f14b39e67042be98f951575fbc819e84e.tar.gz
crawl-ref-62f7040f14b39e67042be98f951575fbc819e84e.zip
Tiles!
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3194 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/shopping.cc')
-rw-r--r--crawl-ref/source/shopping.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/crawl-ref/source/shopping.cc b/crawl-ref/source/shopping.cc
index f9aad54aeb..9490345e4d 100644
--- a/crawl-ref/source/shopping.cc
+++ b/crawl-ref/source/shopping.cc
@@ -172,6 +172,10 @@ static void in_a_shop( int shopidx )
cursor_control coff(false);
+#ifdef USE_TILE
+ clrscr();
+#endif
+
const std::string hello = "Welcome to " + shop_name(shop.x, shop.y) + "!";
shop_print(hello.c_str(), 20);
@@ -306,14 +310,14 @@ bool shoptype_identifies_stock(shop_type type)
static void shop_print( const char *shoppy, int sh_lines )
{
- gotoxy(1, sh_lines);
+ gotoxy(1, sh_lines, GOTO_CRT);
cprintf("%s", shoppy);
clear_to_end_of_line();
}
static void more3()
{
- gotoxy(70, 20);
+ gotoxy(70, 20, GOTO_CRT);
cprintf("-more-");
get_ch();
return;