diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-04 18:18:15 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-04 18:18:15 +0000 |
commit | ffe366a5e2fcd7bdbae1e0fb7848ae3799b4a6b4 (patch) | |
tree | 1646df34129a798d20ffb2446f88c73f7e05c3cf /crawl-ref/source/terrain.h | |
parent | 35d09d284050fe0e0bc1cc12d9f327380844f986 (diff) | |
download | crawl-ref-ffe366a5e2fcd7bdbae1e0fb7848ae3799b4a6b4.tar.gz crawl-ref-ffe366a5e2fcd7bdbae1e0fb7848ae3799b4a6b4.zip |
Fix 2063470: =f inscription preventing wielding of stones
Improve exclusion los behaviour.
* now takes into account what the player knows of the map
* don't autoremove exclusions if you don't know the monster died
* the los gets updated as the player explores the area
For some reason this doesn't work when you dig into an excluded area.
FR 2006559: Sort monsters in description menu (?\) using the same
measure as the monster list does.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7132 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/terrain.h')
-rw-r--r-- | crawl-ref/source/terrain.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/terrain.h b/crawl-ref/source/terrain.h index 2c32be9af7..4e3df832c8 100644 --- a/crawl-ref/source/terrain.h +++ b/crawl-ref/source/terrain.h @@ -48,6 +48,7 @@ void find_connected_range(coord_def d, dungeon_feature_type ft_min, void get_door_description(int door_size, const char** adjective, const char** noun); dungeon_feature_type grid_secret_door_appearance(const coord_def &where); dungeon_feature_type grid_appearance(const coord_def &gc); +dungeon_feature_type grid_appearance(feature_grid &gr, const coord_def &gc); unsigned int show_appearance(const coord_def &ep); bool grid_destroys_items(dungeon_feature_type grid); |