summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/travel.cc
diff options
context:
space:
mode:
authorreaverb <reaverb.Crawl@gmail.com>2014-06-22 16:11:58 -0400
committerreaverb <reaverb.Crawl@gmail.com>2014-06-22 16:12:23 -0400
commitceae2edba1c5a3aa3872228cafafc8556e814f5b (patch)
tree74f1b3c293a104ef8ab56713ecfb06b603ecfdf3 /crawl-ref/source/travel.cc
parent7a751d0484cc0c48d826fec47ce16367f9871ecb (diff)
downloadcrawl-ref-ceae2edba1c5a3aa3872228cafafc8556e814f5b.tar.gz
crawl-ref-ceae2edba1c5a3aa3872228cafafc8556e814f5b.zip
Rename 'mesclr()' to 'clear_messages()'
Diffstat (limited to 'crawl-ref/source/travel.cc')
-rw-r--r--crawl-ref/source/travel.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/crawl-ref/source/travel.cc b/crawl-ref/source/travel.cc
index c7dba192b7..70d9a5035e 100644
--- a/crawl-ref/source/travel.cc
+++ b/crawl-ref/source/travel.cc
@@ -2157,7 +2157,7 @@ static int _prompt_travel_branch(int prompt_flags, bool* to_entrance)
level_id curr = level_id::current();
while (true)
{
- mesclr();
+ clear_messages();
if (waypoint_list)
travel_cache.list_waypoints();
@@ -2441,7 +2441,7 @@ static travel_target _prompt_travel_depth(const level_id &id,
target.p.id.depth = _get_nearest_level_depth(target.p.id.branch);
while (true)
{
- mesclr();
+ clear_messages();
mprf(MSGCH_PROMPT, "What level of %s? "
"(default %s, ? - help) ",
branches[target.p.id.branch].longname,
@@ -3753,7 +3753,7 @@ void TravelCache::delete_waypoint()
while (get_waypoint_count())
{
- mesclr();
+ clear_messages();
mpr("Existing waypoints:");
list_waypoints();
mprf(MSGCH_PROMPT, "Delete which waypoint? (* - delete all, Esc - exit) ");
@@ -3782,7 +3782,7 @@ void TravelCache::delete_waypoint()
return;
}
- mesclr();
+ clear_messages();
mpr("All waypoints deleted. Have a nice day!");
}
@@ -3794,7 +3794,7 @@ void TravelCache::add_waypoint(int x, int y)
return;
}
- mesclr();
+ clear_messages();
const bool waypoints_exist = get_waypoint_count();
if (waypoints_exist)
@@ -3838,7 +3838,7 @@ void TravelCache::add_waypoint(int x, int y)
waypoints[waynum].pos = pos;
string new_dest = _get_trans_travel_dest(waypoints[waynum], false, true);
- mesclr();
+ clear_messages();
if (overwrite)
{
if (lid == old_lid) // same level
@@ -4539,7 +4539,7 @@ void do_interlevel_travel()
_start_translevel_travel_prompt();
if (you.running)
- mesclr();
+ clear_messages();
}
#ifdef USE_TILE