summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mapdef.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-07-04 17:47:01 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-07-05 12:10:36 +0200
commit84529d68d19b47489f41615bf64f90e1639ff0a7 (patch)
tree0f5157f004e1ae16443f1731f15d34ca614e60a5 /crawl-ref/source/mapdef.h
parent7d59203a59442246db2d4cde035d5587c2f8ea81 (diff)
downloadcrawl-ref-84529d68d19b47489f41615bf64f90e1639ff0a7.tar.gz
crawl-ref-84529d68d19b47489f41615bf64f90e1639ff0a7.zip
Make feature renames local to a vault rather than the whole level.
For technical reasons (vault_placement), subvaults use renaming data of the top-level vault, this might be changed one day; that'd require a bit more writing but would allow different renames in different subvaults. TODO: "line of fire blocked by XXX".
Diffstat (limited to 'crawl-ref/source/mapdef.h')
-rw-r--r--crawl-ref/source/mapdef.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/mapdef.h b/crawl-ref/source/mapdef.h
index 190bfd720b..c57ff16d3c 100644
--- a/crawl-ref/source/mapdef.h
+++ b/crawl-ref/source/mapdef.h
@@ -1124,6 +1124,9 @@ public:
std::string rock_tile, floor_tile;
dungeon_feature_type border_fill_type;
+
+ std::map<dungeon_feature_type, std::string> feat_renames;
+
private:
// This map has been loaded from an index, and not fully realised.
bool index_only;