summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-place.h
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2010-02-07 17:55:11 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2010-02-07 18:05:28 +0530
commit2bafbfdd31594fabcaeb7f9e437a2895387ead48 (patch)
tree0cc2db42039bc67b1d777b1eb7c69c1adae1601a /crawl-ref/source/mon-place.h
parent15419324920f3caa6de20657d8b744a112fff936 (diff)
downloadcrawl-ref-2bafbfdd31594fabcaeb7f9e437a2895387ead48.tar.gz
crawl-ref-2bafbfdd31594fabcaeb7f9e437a2895387ead48.zip
Disable bands for OOD monsters (due).
OOD monsters can only be generated in bands after 1.4k turns spent on D:1, or 1.4k - 117 * depth turns spent on any level.
Diffstat (limited to 'crawl-ref/source/mon-place.h')
-rw-r--r--crawl-ref/source/mon-place.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-place.h b/crawl-ref/source/mon-place.h
index df8515fa58..bd64814e3e 100644
--- a/crawl-ref/source/mon-place.h
+++ b/crawl-ref/source/mon-place.h
@@ -45,11 +45,13 @@ monster_type pick_local_zombifiable_monster_type(int power);
class level_id;
-monster_type pick_random_monster(const level_id &place);
+monster_type pick_random_monster(const level_id &place,
+ bool *chose_ood_monster = NULL);
monster_type pick_random_monster(const level_id &place,
int power,
- int &lev_mons);
+ int &lev_mons,
+ bool *chose_ood_monster);
bool player_will_anger_monster(monster_type type, bool *holy = NULL,
bool *unholy = NULL, bool *lawful = NULL,