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/describe.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/describe.cc')
-rw-r--r-- | crawl-ref/source/describe.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index 0f2141a89d..e824f87ca4 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -104,7 +104,7 @@ void print_description( const std::string &d ) while(currentPos < d.length()) { if (currentPos != 0) - gotoxy(1, wherey() + 1); + cgotoxy(1, wherey() + 1); // see if $ sign is within one lineWidth nextLine = d.find('$', currentPos); @@ -1720,7 +1720,7 @@ void describe_item( item_def &item, bool allow_inscribe ) show_item_description(item); if (item.has_spells()) { - gotoxy(1, wherey()); + cgotoxy(1, wherey()); textcolor(LIGHTGREY); cprintf("Select a spell to read its description."); if (describe_spells(item)) @@ -1734,7 +1734,7 @@ void describe_item( item_def &item, bool allow_inscribe ) if (!Options.tutorial_left && allow_inscribe && wherey() <= get_number_of_lines() - 3) { - gotoxy(1, wherey() + 2); + cgotoxy(1, wherey() + 2); std::string ainscrip; @@ -2564,9 +2564,9 @@ void describe_god( god_type which_god, bool give_title ) if ( which_god == you.religion ) { if (you.religion == GOD_ZIN || you.religion == GOD_SHINING_ONE) - gotoxy(1, get_number_of_lines(), GOTO_CRT); + cgotoxy(1, get_number_of_lines(), GOTO_CRT); else - gotoxy(1, get_number_of_lines() - 2, GOTO_CRT); + cgotoxy(1, get_number_of_lines() - 2, GOTO_CRT); textcolor(LIGHTGRAY); cprintf(get_linebreak_string(religion_help(which_god), |