| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
these days.
|
| |
|
|
|
|
| |
Other headers now don't need to include all of itemprop.h.
|
|
|
|
|
|
|
|
|
| |
Make neutralization work on monsters that are out of sight, also make
it clear auto-exclusions for e.g. oklobs that previously got auto-ann.
but are now out of sight.
Make the monster_hostile stuff put auto-exclusions on oklobs you have
already seen (if it turns them hostile).
|
|
|
|
|
| |
I'm pretty sure I've managed to replace every instance of a reference to
these files, so I hopefully haven't missed anything.
|
|
|
|
|
|
|
| |
A total of 53 have been converted; 39 left, of which some should
stay. Now at a net loss of lines of code for monster_iterator.
Occurrences of MAX_MONSTERS down to 65 from 116 in *.cc.
|
|
|
|
| |
This is mainly for Fedhas, who hates the latter but not the former.
|
| |
|
|
|
|
|
| |
monsters::is_actual_spellcaster(), as it's simpler, and monsters with
the "actual spells" flag should always have spells anyway.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is consistent with similar functions in that it checks not only for
MH_HOLY holiness, but whether the monster is a priest of a good god
(currently, there are none) and whether it uses holy spells (currently,
there are none after the changes described below).
Minor and Major Healing are now enchantments rather than holy spells.
The beam code treats them as such; wands of healing aren't holy items
the way e.g. wands of draining are evil items; and unholy monsters
(among others, Lom Lobon!) can cast these spells.
|
| |
|
|
|
|
|
| |
In most places Feawn is now referred to as "Fedhas," its long name
(used in the religion screen) is "Fedhas Madash"
|
| |
|
|
|
|
| |
Replace mons_is_shapeshifter(const monsters *m) in mon-util.cc with is_shapeshifter() in monster.cc
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Avoid an infinite loop caused caused by calling remove_auto_exclude on
plants that get neutralized by Feawn. feawn_neutralise is called via
viewwindow, and it was calling remove_auto_exclude, in tiles
remove_auto_exclude calls viewwindow creating an infinite loop.
Instead of calling remove_auto_exclude directly I added an attitude
check to maybe_remove_autoexclusion which is (safely) called from
viewwindow already.
|
|
|
|
| |
Signed-off-by: Charles Otto <ottochar@gmail.com>
|
|
|
|
| |
Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
|
|
|
|
| |
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
|
|
|