summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/terrain.h
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-06 09:54:50 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-06 09:54:50 +0000
commit47173f1092b4f4f3bdc0da19d6dc4553f62cdee7 (patch)
treeb5d87980beec66a00b2314ca94475ac2715e71ae /crawl-ref/source/terrain.h
parent7640ea1ef75cecb46066e956ec446038c884643c (diff)
downloadcrawl-ref-47173f1092b4f4f3bdc0da19d6dc4553f62cdee7.tar.gz
crawl-ref-47173f1092b4f4f3bdc0da19d6dc4553f62cdee7.zip
"?/" can now be used to look up items. A side effect of this is that
item descriptions have been moved to dat/descript/items.txt and dat/descript/unident.txt. STL maps are now used to look up exact matches for the names of monsters, features and spells, so that looking them up with "?/" won't get too slow if there's a large descriptions DB and each key has to be tested if its a monster/spell/etc. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3009 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/terrain.h')
-rw-r--r--crawl-ref/source/terrain.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/terrain.h b/crawl-ref/source/terrain.h
index 16b728c5c4..24724a5713 100644
--- a/crawl-ref/source/terrain.h
+++ b/crawl-ref/source/terrain.h
@@ -57,4 +57,6 @@ void dungeon_terrain_changed(const coord_def &pos,
bool is_critical_feature(dungeon_feature_type feat);
+void init_feat_desc_cache();
+dungeon_feature_type feat_by_desc(std::string desc);
#endif