summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-03 22:30:53 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-03 22:30:53 +0000
commit61aa415257407644740dc5e91d30bd94cdbd5327 (patch)
tree478788b078a882729d4e02541f89295e65a6af29 /crawl-ref/source/acr.cc
parentbcfca21ad67956a47a2ac5f616943567334f7c0b (diff)
downloadcrawl-ref-61aa415257407644740dc5e91d30bd94cdbd5327.tar.gz
crawl-ref-61aa415257407644740dc5e91d30bd94cdbd5327.zip
Miscellaneous minor fixes and cleanups (such as using player_can_smell()
more and mprf() rather than strcats.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@547 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc24
1 files changed, 4 insertions, 20 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index c52a0724a2..66685465a1 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -148,22 +148,6 @@ const struct coord_def Compass[8] =
{ 0, 1 }, { -1, 1 }, { -1, 0 }, { -1, -1 },
};
-/*
-
- Functions needed:
- New:
- int player_speed(player you);
- hit_player(damage, flavour, then last two ouch values, env);
-
-
- Old:
- wield(player you);
- show_map
- noisy()
- losight
-
-*/
-
// Functions in main module
static void close_door(int move_x, int move_y);
static void do_berserk_no_combat_penalty(void);
@@ -1329,10 +1313,9 @@ void process_command( command_type cmd ) {
strncpy(name_your, you.your_name, kNameLen);
name_your[kNameLen] = 0;
if (dump_char( name_your, false ))
- strcpy(info, "Char dumped successfully.");
+ mpr("Char dumped successfully.");
else
- strcat(info, "Char dump unsuccessful! Sorry about that.");
- mpr(info);
+ mpr("Char dump unsuccessful! Sorry about that.");
break;
#ifdef USE_MACROS
@@ -2056,7 +2039,8 @@ static void decrement_durations()
at some point.
*/
-static void world_reacts() {
+static void world_reacts()
+{
bool its_quiet; //jmf: for silence messages