summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-pick.h
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-24 10:19:40 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-24 10:19:40 +0000
commite11dba64d54f66fca604f0484ada549fb19db709 (patch)
tree6eee0ff746e00221432bdf8707da6f3d1551ecf4 /crawl-ref/source/mon-pick.h
parentee8bfe95919cb737826f04629698df9258200020 (diff)
downloadcrawl-ref-e11dba64d54f66fca604f0484ada549fb19db709.tar.gz
crawl-ref-e11dba64d54f66fca604f0484ada549fb19db709.zip
Added some missing cases to various mons_foo_level() functions.
Added mon-pick related function mons_global_level(), which returns a reasonable level value for monsters independant of the place of the monster, primarily useful for comparing the levels of two monsters which might never show up in the same place (in which case mons_level() is useless). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2186 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mon-pick.h')
-rw-r--r--crawl-ref/source/mon-pick.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-pick.h b/crawl-ref/source/mon-pick.h
index 1f8bac453c..aefaec9204 100644
--- a/crawl-ref/source/mon-pick.h
+++ b/crawl-ref/source/mon-pick.h
@@ -27,6 +27,7 @@ int mons_rarity(int mcls, const level_id &place = level_id::current());
* *********************************************************************** */
int mons_level(int mcls, const level_id &place = level_id::current());
+int mons_global_level(int mcls);
// last updated 12may2000 {dlb}
/* ***********************************************************************