summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-12 09:03:37 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-12 09:03:37 +0000
commit14f96d4f59e4c91915bb15d2f4ca845e6e2e459e (patch)
tree0d4e442574394649b916aaecef060cda9a6c4282 /crawl-ref/source/describe.cc
parent42d4567bed5358f70d8205f17f65c380e6ad65f7 (diff)
downloadcrawl-ref-14f96d4f59e4c91915bb15d2f4ca845e6e2e459e.tar.gz
crawl-ref-14f96d4f59e4c91915bb15d2f4ca845e6e2e459e.zip
Remove unneeded methods (including the old resistance screen), rename
debugging functions, and some other clean-up. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5757 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc11
1 files changed, 3 insertions, 8 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index 158d8191da..120f9de79c 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -2283,7 +2283,8 @@ void describe_monsters(monsters& mons)
break;
}
case MONS_PLAYER_GHOST:
- description << "The apparition of " << ghost_description(mons) << ".$";
+ description << "The apparition of " << get_ghost_description(mons)
+ << ".$";
break;
case MONS_PANDEMONIUM_DEMON:
@@ -2366,16 +2367,10 @@ void describe_monsters(monsters& mons)
getch();
} // end describe_monsters
-//---------------------------------------------------------------
-//
-// ghost_description
-//
// Describes the current ghost's previous owner. The caller must
// prepend "The apparition of" or whatever and append any trailing
// punctuation that's wanted.
-//
-//---------------------------------------------------------------
-std::string ghost_description(const monsters &mons, bool concise)
+std::string get_ghost_description(const monsters &mons, bool concise)
{
ASSERT(mons.ghost.get());
std::ostringstream gstr;