summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.h
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-11-13 01:42:25 -0800
committerMatthew Cline <zelgadis@sourceforge.net>2009-11-13 01:44:02 -0800
commitf436e7d24f238b1a0c08e17ece91b441b437bdc5 (patch)
tree786d235d44d8ce79e807cc9481fe597db62bfbf2 /crawl-ref/source/dungeon.h
parent63d0387082757a0681b4a4528199bf4865e2409d (diff)
downloadcrawl-ref-f436e7d24f238b1a0c08e17ece91b441b437bdc5.tar.gz
crawl-ref-f436e7d24f238b1a0c08e17ece91b441b437bdc5.zip
seen_replace_feat(): replace one feat with another
Replacement for replace_area_wrapper, and a lua accessor for the function. Returns true if the player saw the feature being changed.
Diffstat (limited to 'crawl-ref/source/dungeon.h')
-rw-r--r--crawl-ref/source/dungeon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/dungeon.h b/crawl-ref/source/dungeon.h
index c9c236cb9b..793fccc2c8 100644
--- a/crawl-ref/source/dungeon.h
+++ b/crawl-ref/source/dungeon.h
@@ -354,8 +354,8 @@ void level_welcome_messages();
bool place_specific_trap(const coord_def& where, trap_type spec_type);
void place_spec_shop(int level_number, const coord_def& where,
int force_s_type, bool representative = false);
-void replace_area_wrapper(dungeon_feature_type old_feat,
- dungeon_feature_type new_feat);
+bool seen_replace_feat(dungeon_feature_type replace,
+ dungeon_feature_type feature);
bool unforbidden(const coord_def &c, unsigned mask);
coord_def dgn_find_nearby_stair(dungeon_feature_type stair_to_find,
coord_def base_pos, bool find_closest);