From 14f96d4f59e4c91915bb15d2f4ca845e6e2e459e Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Thu, 12 Jun 2008 09:03:37 +0000 Subject: 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 --- crawl-ref/source/describe.cc | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'crawl-ref/source/describe.cc') 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; -- cgit v1.2.3-54-g00ecf