diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-28 08:42:47 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-28 08:42:47 +0000 |
commit | 5549c15ba74e62433508e9bbaa23d117610f81e2 (patch) | |
tree | 8f462e0f7b7f516629af0b773fc5a7a176060f4e /crawl-ref/source/view.h | |
parent | 9b909453a2e070df3ac33277d0a7f07deb6e9132 (diff) | |
download | crawl-ref-5549c15ba74e62433508e9bbaa23d117610f81e2.tar.gz crawl-ref-5549c15ba74e62433508e9bbaa23d117610f81e2.zip |
Added wizmode &L command to place a map on the current level by name. This
only really works for non-encompass vaults, and dungeon fixups are not applied
(so random deep water -> shallow water conversion, auto-placement of water
creatures, etc. will not happen).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1942 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/view.h')
-rw-r--r-- | crawl-ref/source/view.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/view.h b/crawl-ref/source/view.h index a5357ce218..a3965502aa 100644 --- a/crawl-ref/source/view.h +++ b/crawl-ref/source/view.h @@ -120,6 +120,7 @@ bool is_envmap_detected_item(int x, int y); bool is_envmap_detected_mons(int x, int y); void set_terrain_mapped( int x, int y ); void set_terrain_seen( int x, int y ); +void set_terrain_changed( int x, int y ); bool is_terrain_known( int x, int y ); bool is_terrain_seen( int x, int y ); bool is_terrain_changed( int x, int y ); @@ -131,6 +132,11 @@ inline bool is_terrain_seen(const coord_def &c) return (is_terrain_seen(c.x, c.y)); } +inline void set_terrain_changed(const coord_def &c) +{ + set_terrain_changed(c.x, c.y); +} + void clear_feature_overrides(); void add_feature_override(const std::string &text); void clear_cset_overrides(); |