summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-pick.h
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-01-30 21:03:27 -0700
committerSteve Melenchuk <smelenchuk@gmail.com>2014-01-30 21:03:27 -0700
commit08548d2bf3d08e4dc82e2b670d5d3460bda9de54 (patch)
treeaad44cf56c4c0f46ad073346b87e2ddb1a1241be /crawl-ref/source/mon-pick.h
parentc3eaa25662d0e13871b7ff2fc66403d9bb9dbed4 (diff)
downloadcrawl-ref-08548d2bf3d08e4dc82e2b670d5d3460bda9de54.tar.gz
crawl-ref-08548d2bf3d08e4dc82e2b670d5d3460bda9de54.zip
Functionality for branch zombie lists (currently unused).
This is designed with the Hell zombie problem in mind, though recent tweaks have also caused, say, Crypt to have problems with generating zombies outside of _place_assorted_zombies() - right now it only naturally generates deep dwarf zombies and elf zombies. If you don't want to use it for a branch, just set the zombie list to the basic monster list and the current behaviour is retained. That's the case for all branches currently.
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 0ce797ec99..2226fd0025 100644
--- a/crawl-ref/source/mon-pick.h
+++ b/crawl-ref/source/mon-pick.h
@@ -27,6 +27,7 @@ monster_type pick_monster_by_hash(branch_type branch, uint32_t hash);
monster_type pick_monster_all_branches(int absdepth0, mon_pick_vetoer veto = nullptr);
int branch_ood_cap(branch_type branch);
const pop_entry* fish_population(branch_type br, bool lava);
+const pop_entry* zombie_population(branch_type br);
void debug_monpick();