diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-04-19 11:48:04 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-04-19 11:48:04 +0000 |
commit | 6154ce26f08678558f0e59dc19506bd5af6eeb9c (patch) | |
tree | 885875dc55b187ccdd2af5ebce09d134a63036f8 /crawl-ref/source/mon-util.h | |
parent | b652f0fadfb222d17c816c01a81e5ea27966e691 (diff) | |
download | crawl-ref-6154ce26f08678558f0e59dc19506bd5af6eeb9c.tar.gz crawl-ref-6154ce26f08678558f0e59dc19506bd5af6eeb9c.zip |
* Properly print (non-spoily) resists descriptions for ghosts/pandemonium
lords, using mons_class_resists (currently only poison) instead of
mons_resists().
* Add option note_xom_effects (defaults to true) that causes note-taking
for all Xom effects, hopefully spoiler free.
* Autoinscribe hides from unique monsters' corpses with the monster name,
as suggested on rgrm. Currently only applies to Snorg and Tiamat.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9652 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mon-util.h')
-rw-r--r-- | crawl-ref/source/mon-util.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h index 9bd0ce27d3..aa33a1e56b 100644 --- a/crawl-ref/source/mon-util.h +++ b/crawl-ref/source/mon-util.h @@ -452,6 +452,7 @@ habitat_type grid2habitat(dungeon_feature_type grid); dungeon_feature_type habitat2grid(habitat_type ht); monsterentry *get_monster_data(int p_monsterid); +const mon_resist_def &get_mons_class_resists(int mc); mon_resist_def get_mons_resists(const monsters *mon); // last updated 10jun2000 {dlb} @@ -473,7 +474,7 @@ bool give_monster_proper_name(monsters *mon, bool orcs_only = true); * called from: beam - direct - fight - monstuff - mstuff2 - spells4 - view * *********************************************************************** */ flight_type mons_class_flies(int mc); -flight_type mons_flies(const monsters *mon); +flight_type mons_flies(const monsters *mon, bool randarts = true); bool mons_class_amphibious(int mc); bool mons_amphibious(const monsters *mon); |