summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilecell.cc
diff options
context:
space:
mode:
authorFlorian Diebold <flodiebold@gmail.com>2011-08-01 01:58:08 +0200
committerRaphael Langella <raphael.langella@gmail.com>2011-08-01 10:13:10 +0200
commitfe49ed249814aa24347a4c233c923e1d0dec0e68 (patch)
treec5b8d9986ac1cca05d11d44984c6c39a7a93b7a9 /crawl-ref/source/tilecell.cc
parentc5ff8d26ec5379bc9b8d022aaaea72980f07a8f4 (diff)
downloadcrawl-ref-fe49ed249814aa24347a4c233c923e1d0dec0e68.tar.gz
crawl-ref-fe49ed249814aa24347a4c233c923e1d0dec0e68.zip
Show halo radius in tiles.
packed_cell.is_haloed (which previously was only set for haloed monsters) becomes packed_cell.halo, with either HALO_NONE, HALO_RANGE or HALO_MONSTER as value. There is a combined tile for silence + halo range, since this may often happen with Mennas, and thus should look discernable. The tiles may need work, though. Signed-off-by: Raphael Langella <raphael.langella@gmail.com>
Diffstat (limited to 'crawl-ref/source/tilecell.cc')
-rw-r--r--crawl-ref/source/tilecell.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/tilecell.cc b/crawl-ref/source/tilecell.cc
index 410bc628c3..97f0327d07 100644
--- a/crawl-ref/source/tilecell.cc
+++ b/crawl-ref/source/tilecell.cc
@@ -25,7 +25,7 @@ void packed_cell::clear()
is_bloody = false;
is_silenced = false;
- is_haloed = false;
+ halo = HALO_NONE;
is_moldy = false;
glowing_mold = false;
is_sanctuary = false;
@@ -40,7 +40,7 @@ bool packed_cell::operator ==(const packed_cell &other) const
if (is_bloody != other.is_bloody) return false;
if (is_silenced != other.is_silenced) return false;
- if (is_haloed != other.is_haloed) return false;
+ if (halo != other.halo) return false;
if (is_moldy != other.is_moldy) return false;
if (glowing_mold != other.glowing_mold) return false;
if (is_sanctuary != other.is_sanctuary) return false;