Releases · angband/angband
Borgsource (#5791) * reorg of source * update source files * update msvc project * fix some missed things and some !FIX stuff * move include from .c to .h for enum declare * fix some missing externs and other compile errs * move around some things that didn't make sense * double def of borg_failure * change includes and some formatting
Check unshifted shape rather than current shape when testing for Banish See http://angband.oook.cz/forum/showthread.php?t=11589 . Refactor monster_is_unique() so it tests the unshifted shape and add monster_is_shape_unique() to test the current shape. The results of those can only differ if the monster is currently shape shifted. Use those functions instead of direct tests of a monster's race->flags or original_race->flags. Where that intentionally changes the prior behavior is in nominating a new group leader, compacting monsters, protecting a unique from trampling, computing saving throw against timed effects, calculating the difficulty of player thefts, protecting a unique from death to non-player hits or projections, protecting a unique from polymorph, and handling of uniques in the statistics code. In all cases except for trampling, the prior code tested the current shape, and now the code tests the unshifted shape. For trampling, the prior code tested if either the current or unshifted shape is unique, and now the code tests only the unshifted shape. Since place_monster() checks for shape shifting, also handle shape shifting in its helper function, mon_create_drop(). There, always use the unshifted shape when computing the drop.
configure: remove skip-old-int-typedefs option (#5524) These typedefs aren't used anywhere in the source and it's hard to conceive of a situation where one would want to enable them, given that they have been fully replaced with standard C types. Co-authored-by: Elly Fong-Jones <firstname.lastname@example.org>