diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-09 17:50:45 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-09 17:50:45 +0000 |
commit | f24effa7e6806e80cca64a04a480e56b539c6999 (patch) | |
tree | ef5927676e181a4819a981ceb4b866d068e70ba1 /crawl-ref/source/view.cc | |
parent | ed25e26edc8827c33dfb47bfe5940cf220863c12 (diff) | |
download | crawl-ref-f24effa7e6806e80cca64a04a480e56b539c6999.tar.gz crawl-ref-f24effa7e6806e80cca64a04a480e56b539c6999.zip |
* Monsters shout only when they notice you (i.e. you are in sight).
* Add a tile for out of range grids (lighter shade than out of sight).
* Make Xom's repel stairs effect only happen during tension.
* Add Z to keybind.txt.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9755 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/view.cc')
-rw-r--r-- | crawl-ref/source/view.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc index 3f20c3b3b6..482fb298ff 100644 --- a/crawl-ref/source/view.cc +++ b/crawl-ref/source/view.cc @@ -1268,7 +1268,8 @@ void monster_grid(bool do_updates) || mons_is_wandering(monster)) && check_awaken(monster)) { - behaviour_event(monster, ME_ALERT, MHITYOU); + behaviour_event(monster, ME_ALERT, MHITYOU, you.pos(), false); + handle_monster_shouts(monster); } // [enne] - It's possible that mgrd and monster->x/y are out of @@ -5362,7 +5363,9 @@ void viewwindow(bool draw_it, bool do_updates) { buffy[bufcount + 1] = DARKGREY; #ifdef USE_TILE - tileb[bufcount + 1] |= TILE_FLAG_UNSEEN; +// tileb[bufcount + 1] |= TILE_FLAG_UNSEEN; + if (see_grid(gc)) + tileb[bufcount + 1] |= TILE_FLAG_OOR; #endif } |