diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-01-25 18:11:54 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-01-25 18:11:54 +0000 |
commit | 32a6373c7a8072bfcb4567417f82f700084b6ab8 (patch) | |
tree | 248900b93f0f79c36123dc92364ccf9b0db3bcee /crawl-ref/source/tutorial.cc | |
parent | 0136740f19467e681f934718d109748458fa49c6 (diff) | |
download | crawl-ref-32a6373c7a8072bfcb4567417f82f700084b6ab8.tar.gz crawl-ref-32a6373c7a8072bfcb4567417f82f700084b6ab8.zip |
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
Diffstat (limited to 'crawl-ref/source/tutorial.cc')
-rw-r--r-- | crawl-ref/source/tutorial.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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( "<white>You must be new here indeed!</white>" 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 << "</magenta>"; 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 |