Rewrite part of the exclusion code.

  • Exclusion radius 0 no longer encodes "no exclusion".
  • toggle_exclusion split into set_exclusion and del_exclusion: It was never used as a toggle.
  • Exclusion updates for changed cells unified in void update_exclusion_los(std::vector coord_def changed). Now doesn't leave invalidly non-uptodate exclusions laying around.

Still need to find out why off-level exclusions aren't updated after restore.

Created by  Robert Vollmert  on October 15, 2009
AUJG42P2TOWAVVU6HBT3D7USOSZCRPQS7FEUGV57HVNULEFDPTSQC
Dependencies
In channels
main
Change contents