summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.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/directn.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/directn.h')
-rw-r--r--crawl-ref/source/directn.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/crawl-ref/source/directn.h b/crawl-ref/source/directn.h
index a7839a345c..1d596a30b5 100644
--- a/crawl-ref/source/directn.h
+++ b/crawl-ref/source/directn.h
@@ -300,25 +300,16 @@ std::string get_monster_equipment_desc(const monster_info& mi,
int dos_direction_unmunge(int doskey);
-std::string feature_description(const coord_def& where, bool covering = false,
+std::string feature_description_at(const coord_def& where, bool covering = false,
description_level_type dtype = DESC_A,
bool add_stop = true, bool base_desc = false);
-std::string raw_feature_description(dungeon_feature_type grid,
- trap_type tr = NUM_TRAPS,
- bool base_desc = false);
+std::string raw_feature_description(const coord_def& where);
std::string feature_description(dungeon_feature_type grid,
trap_type trap = NUM_TRAPS,
const std::string & cover_desc = "",
description_level_type dtype = DESC_A,
bool add_stop = true, bool base_desc = false);
-void set_feature_desc_short(dungeon_feature_type grid,
- const std::string &desc);
-void set_feature_desc_short(const std::string &base_name,
- const std::string &desc);
-
-void setup_feature_descs_short();
-
std::vector<dungeon_feature_type> features_by_desc(const base_pattern &pattern);
void full_describe_view(void);