summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skills2.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-25 18:11:54 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-25 18:11:54 +0000
commit32a6373c7a8072bfcb4567417f82f700084b6ab8 (patch)
tree248900b93f0f79c36123dc92364ccf9b0db3bcee /crawl-ref/source/skills2.cc
parent0136740f19467e681f934718d109748458fa49c6 (diff)
downloadcrawl-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/skills2.cc')
-rw-r--r--crawl-ref/source/skills2.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/skills2.cc b/crawl-ref/source/skills2.cc
index 8bd47b1f91..edc9605ce7 100644
--- a/crawl-ref/source/skills2.cc
+++ b/crawl-ref/source/skills2.cc
@@ -1795,7 +1795,7 @@ static void display_skill_table(bool show_aptitudes)
menu_letter lcount = 'a';
const int num_lines = get_number_of_lines();
- gotoxy(1, 1);
+ cgotoxy(1, 1);
textcolor(LIGHTGREY);
#if DEBUG_DIAGNOSTICS
@@ -1836,7 +1836,7 @@ static void display_skill_table(bool show_aptitudes)
continue;
}
- gotoxy(scrcol, scrln);
+ cgotoxy(scrcol, scrln);
#ifndef DEBUG_DIAGNOSTICS
if (you.skills[x] > 0)
@@ -1916,7 +1916,7 @@ static void display_skill_table(bool show_aptitudes)
if (Options.tutorial_left)
{
textcolor(MAGENTA);
- gotoxy(1, bottom_line-5);
+ cgotoxy(1, bottom_line-5);
formatted_string::parse_block(
"This screen shows the skill set of your character. You can pick up new" EOL
"skills by performing the corresponding actions. The number next to the" EOL
@@ -1929,13 +1929,13 @@ static void display_skill_table(bool show_aptitudes)
else
{
// if any more skills added, must adapt letters to go into caps
- gotoxy(1, bottom_line-1);
+ cgotoxy(1, bottom_line-1);
textcolor(LIGHTGREY);
cprintf("Press the letter of a skill to choose "
"whether you want to practise it.");
if (player_knows_aptitudes())
{
- gotoxy(1, bottom_line);
+ cgotoxy(1, bottom_line);
formatted_string::parse_string("Press '!' to toggle between "
"<cyan>progress</cyan> and "
"<red>aptitude</red> "