diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-12-06 20:16:35 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-12-06 20:40:11 +0100 |
commit | a0f3646397acf4b985327b832a92fdc3ef60ffee (patch) | |
tree | a3effbce79d0e40315afa01c3279d5e205e2cfa8 /crawl-ref/source/view.h | |
parent | bbc0a7d219d41bdd936662ee8a126b66d31e1483 (diff) | |
download | crawl-ref-a0f3646397acf4b985327b832a92fdc3ef60ffee.tar.gz crawl-ref-a0f3646397acf4b985327b832a92fdc3ef60ffee.zip |
Show what Refrigeration, Toxic Radiance and Ignite Poison affects.
With them no longer working through glass or trees, flashing the whole LOS
conveyed that everything behind was hit.
Diffstat (limited to 'crawl-ref/source/view.h')
-rw-r--r-- | crawl-ref/source/view.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/view.h b/crawl-ref/source/view.h index 35751f2f94..d7f80d0137 100644 --- a/crawl-ref/source/view.h +++ b/crawl-ref/source/view.h @@ -33,8 +33,10 @@ std::string screenshot(); int viewmap_flash_colour(); bool view_update(); void view_update_at(const coord_def &pos); -void flash_view(uint8_t colour = BLACK); // inside #ifndef USE_TILE_LOCAL? -void flash_view_delay(uint8_t colour = BLACK, int delay = 150); +class targetter; +// beware, flash_view is broken for USE_TILE_LOCAL +void flash_view(uint8_t colour, targetter *where = NULL); +void flash_view_delay(uint8_t colour, int delay, targetter *where = NULL); #ifndef USE_TILE_LOCAL void flash_monster_colour(const monster* mon, uint8_t fmc_colour, int fmc_delay); |