From 32a6373c7a8072bfcb4567417f82f700084b6ab8 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Fri, 25 Jan 2008 18:11:54 +0000 Subject: Fix collision between gotoxy(int,int,int) and DOS djgpp gotoxy(). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3337 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/tutorial.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/tutorial.cc') diff --git a/crawl-ref/source/tutorial.cc b/crawl-ref/source/tutorial.cc index d99dd0b2f6..53e8c0f96d 100644 --- a/crawl-ref/source/tutorial.cc +++ b/crawl-ref/source/tutorial.cc @@ -91,7 +91,7 @@ bool pick_tutorial() { clrscr(); - gotoxy(1,1); + cgotoxy(1,1); formatted_string::parse_string( "You must be new here indeed!" EOL EOL @@ -522,7 +522,7 @@ void tut_starting_screen() // map window (starts at 1) or message window (starts at 18) y_pos = (i==1 || i==3 ? 18 : 1); - gotoxy(1,y_pos); + cgotoxy(1,y_pos); #endif if (i==0) clrscr(); @@ -547,7 +547,7 @@ void tut_starting_screen() #ifdef TUTORIAL_DEBUG clrscr(); #ifndef USE_TILE - gotoxy(1,y_pos); + cgotoxy(1,y_pos); #endif tutorial_debug().display(); #else @@ -2062,7 +2062,7 @@ void tutorial_describe_item(const item_def &item) ostr << ""; std::string broken = ostr.str(); linebreak_string2(broken, get_tutorial_cols()); - gotoxy(1, wherey() + 2); + cgotoxy(1, wherey() + 2); formatted_string::parse_block(broken, false).display(); } // tutorial_describe_item -- cgit v1.2.3-54-g00ecf