From 5e05ffc14e57fff49b1f8a9700fa3623b4f1f343 Mon Sep 17 00:00:00 2001 From: haranp Date: Sat, 19 May 2007 20:51:51 +0000 Subject: monam(), moname() and ptr_monam() are gone. The replacement is str_monam() and mons_type_name(). str_monam() should probably be folded into actor::name. I think. Deaths from zombies, skeletons and simulacra will not handle the name correctly; needs a further hack. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1484 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/mon-util.h | 28 +++++----------------------- 1 file changed, 5 insertions(+), 23 deletions(-) (limited to 'crawl-ref/source/mon-util.h') diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h index a66fa48580..82dfa1b68f 100644 --- a/crawl-ref/source/mon-util.h +++ b/crawl-ref/source/mon-util.h @@ -121,22 +121,12 @@ struct monsterentry * *********************************************************************** */ void init_monsters( FixedVector& colour ); -// last updated 12may2000 {dlb} -/* *********************************************************************** - * called from: bang - beam - debug - direct - effects - fight - item_use - - * monstuff - mstuff2 - ouch - spells1 - spells2 - spells3 - - * spells4 - * *********************************************************************** */ -// mons_wpn only important for dancing weapons -- bwr -const char *monam(const monsters *mon, - int mons_num, int mons, bool vis, - description_level_type desc, int mons_wpn = NON_ITEM); - -// these front for monam -const char *ptr_monam(const monsters *mon, description_level_type desc, - bool force_seen = false); -std::string str_monam(const monsters *mon, description_level_type desc, +// this is the old monam(), ptr_monam() +std::string str_monam(const monsters& mon, description_level_type desc, bool force_seen = false); + +// this is the old moname() +std::string mons_type_name(int type, description_level_type desc ); // last updated 12may2000 {dlb} /* *********************************************************************** @@ -345,14 +335,6 @@ void mons_load_spells( monsters *mon, int book ); void define_monster(int mid); -// last updated 12may2000 {dlb} -/* *********************************************************************** - * called from: debug - itemname - mon-util - * *********************************************************************** */ -const char *moname(int mcl, bool vis, description_level_type descrip, - char glog[ ITEMNAME_SIZE ]); - - #ifdef DEBUG_DIAGNOSTICS // last updated 25sep2001 {dlb} /* *********************************************************************** -- cgit v1.2.3-54-g00ecf