diff options
author | Florian Diebold <flodiebold@gmail.com> | 2012-03-23 20:05:46 +0100 |
---|---|---|
committer | Florian Diebold <flodiebold@gmail.com> | 2012-03-23 20:05:46 +0100 |
commit | 654b8b308ac63d5b3d81ff9aaf6748307c3a83ba (patch) | |
tree | 87254dec44cba4ef9487fe033d175de978b92ff6 /crawl-ref/source/tilecell.h | |
parent | 42d8ed7d8c48492f534ee3587f71c496e32f324f (diff) | |
download | crawl-ref-654b8b308ac63d5b3d81ff9aaf6748307c3a83ba.tar.gz crawl-ref-654b8b308ac63d5b3d81ff9aaf6748307c3a83ba.zip |
Add a tile for the suppression aura.
I really don't like the whole packed_cell thing and how many changes
are necessary to add this kind of tile; much of packed_cell is just
replicating flags from map_cells. I'll have to check if this can be
simplified.
Diffstat (limited to 'crawl-ref/source/tilecell.h')
-rw-r--r-- | crawl-ref/source/tilecell.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/crawl-ref/source/tilecell.h b/crawl-ref/source/tilecell.h index 821a7e7f91..cf676dcf0d 100644 --- a/crawl-ref/source/tilecell.h +++ b/crawl-ref/source/tilecell.h @@ -24,6 +24,7 @@ struct packed_cell bool is_bloody; bool is_silenced; + bool is_suppressed; char halo; bool is_moldy; bool glowing_mold; @@ -37,14 +38,16 @@ struct packed_cell bool operator !=(const packed_cell &other) const { return !(*this == other); } packed_cell() : num_dngn_overlay(0), fg(0), bg(0), is_bloody(false), - is_silenced(false), halo(HALO_NONE), is_moldy(false), - glowing_mold(false), is_sanctuary(false), is_liquefied(false), - swamp_tree_water(false), orb_glow(0), blood_rotation(0) {} + is_silenced(false), is_suppressed(false), halo(HALO_NONE), + is_moldy(false), glowing_mold(false), is_sanctuary(false), + is_liquefied(false), swamp_tree_water(false), orb_glow(0), + blood_rotation(0) {} packed_cell(const packed_cell* c) : num_dngn_overlay(c->num_dngn_overlay), fg(c->fg), bg(c->bg), flv(c->flv), is_bloody(c->is_bloody), is_silenced(c->is_silenced), + is_suppressed(c->is_suppressed), halo(c->halo), is_moldy(c->is_moldy), glowing_mold(c->glowing_mold), |