diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-03-18 01:37:15 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-03-18 08:43:48 +0100 |
commit | 56350a3d9a244f420e4c0a7c6050810f937876ca (patch) | |
tree | f6d52e7419a3b1f93c1c07f77aa184288b05107c /crawl-ref/source/mon-place.h | |
parent | ac72cf1417c3982e16022d421ce4da78583d98aa (diff) | |
download | crawl-ref-56350a3d9a244f420e4c0a7c6050810f937876ca.tar.gz crawl-ref-56350a3d9a244f420e4c0a7c6050810f937876ca.zip |
Rewrite zombifiable monster requests.
Probably would be good to handle skeletons/simulacra/spectrals here as well,
instead of relying on zombies.
Diffstat (limited to 'crawl-ref/source/mon-place.h')
-rw-r--r-- | crawl-ref/source/mon-place.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/crawl-ref/source/mon-place.h b/crawl-ref/source/mon-place.h index 462faf217a..88dcf98b13 100644 --- a/crawl-ref/source/mon-place.h +++ b/crawl-ref/source/mon-place.h @@ -56,17 +56,11 @@ void define_zombie(monster* mon, monster_type ztype, monster_type cs); bool downgrade_zombie_to_skeleton(monster* mon); -// Picks a monster eligible for random generation at the given place, -// optionally picking monsters that can be zombified into the target zombie. -// -// If want_corpse_capable is true, only monsters that can leave corpses -// will be considered. -monster_type pick_random_monster_for_place(const level_id &place, - monster_type zombie_monster); - class level_id; -monster_type pick_random_monster(const level_id &place); +monster_type pick_random_monster(level_id place, + monster_type kind = RANDOM_MONSTER, + level_id *final_place = nullptr); conduct_type player_will_anger_monster(monster_type type); conduct_type player_will_anger_monster(monster* mon); |