summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/newgame.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/newgame.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/newgame.cc')
-rw-r--r--crawl-ref/source/newgame.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/crawl-ref/source/newgame.cc b/crawl-ref/source/newgame.cc
index 1286dbbc26..c92c220046 100644
--- a/crawl-ref/source/newgame.cc
+++ b/crawl-ref/source/newgame.cc
@@ -2093,7 +2093,7 @@ static void show_name_prompt(int where, bool blankOK,
const std::vector<player_save_info> &existing_chars,
slider_menu &menu)
{
- gotoxy(1, where);
+ cgotoxy(1, where);
textcolor( CYAN );
if (blankOK)
{
@@ -2115,7 +2115,7 @@ static void show_name_prompt(int where, bool blankOK,
const int name_x = wherex(), name_y = wherey();
menu.set_limits(name_y + 3, get_number_of_lines());
menu.display();
- gotoxy(name_x, name_y);
+ cgotoxy(name_x, name_y);
}
textcolor( LIGHTGREY );
@@ -2193,11 +2193,11 @@ static bool read_player_name(
for (;;)
{
- gotoxy(name_x, name_y);
+ cgotoxy(name_x, name_y);
if (name_x <= 80)
cprintf("%-*s", 80 - name_x + 1, "");
- gotoxy(name_x, name_y);
+ cgotoxy(name_x, name_y);
int ret = reader.read_line(false);
if (!ret)
return (true);
@@ -2240,7 +2240,7 @@ static void enter_player_name(bool blankOK)
existing_chars = find_saved_characters();
if (existing_chars.empty())
{
- gotoxy(1,12);
+ cgotoxy(1,12);
formatted_string::parse_string(
" If you've never been here before, you might want to try "
"out" EOL " the Dungeon Crawl tutorial. To do this, press "
@@ -2276,7 +2276,7 @@ static void enter_player_name(bool blankOK)
#ifdef USE_TILE
clrscr();
- gotoxy(1, 1);
+ cgotoxy(1, 1);
#endif
// Laboriously trim the damn thing.
@@ -3071,7 +3071,7 @@ job_query:
if (j % 2)
cprintf(EOL);
else
- gotoxy(31, wherey());
+ cgotoxy(31, wherey());
j++;
}