summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-pick.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-10-01 15:15:11 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-10-01 15:46:31 +0200
commitc72d970d5629f4786ad28d6cba467f87c275e15f (patch)
treea70ed5bf59b6b109f375dd9ad9eb6e17a98a6d24 /crawl-ref/source/mon-pick.h
parent3d2760f8d149c9c1f5f0985ea570bd145091291b (diff)
downloadcrawl-ref-c72d970d5629f4786ad28d6cba467f87c275e15f.tar.gz
crawl-ref-c72d970d5629f4786ad28d6cba467f87c275e15f.zip
Unify monster choice code for Abyss, Pan (now works) and regular levels.
Also, have place:Pan use the common way. It is used only very, very occasionally in Pan itself, but 100% for Shadow Creatures in Pan and nearly 100% in three(!) of Zig level sets. I've also altered the monster set of Pan rares. Living creatures are bad theme-wise (removed), undead are boring (untouched... yet), demonic animals were missing (added). Also, added a few oddities like profane servitors.
Diffstat (limited to 'crawl-ref/source/mon-pick.h')
-rw-r--r--crawl-ref/source/mon-pick.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-pick.h b/crawl-ref/source/mon-pick.h
index 556f7fa47e..77932a078d 100644
--- a/crawl-ref/source/mon-pick.h
+++ b/crawl-ref/source/mon-pick.h
@@ -14,8 +14,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_abyss_rare(int mcls);
-
-bool mons_pan(int mcls);
+int mons_pan_rare(int mcls);
int mons_cocytus_level(int mcls);
int mons_cocytus_rare(int mcls);