summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/database.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-22 19:40:42 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-22 19:40:42 +0000
commit8b989e877550fcc89c79e06905a2128537a852f0 (patch)
tree4230f4f5a5d7ad42fe1a0fa3a0dca962aa349a26 /crawl-ref/source/database.h
parentc23deaf938ce66f6c7711a72f2c147690d486376 (diff)
downloadcrawl-ref-8b989e877550fcc89c79e06905a2128537a852f0.tar.gz
crawl-ref-8b989e877550fcc89c79e06905a2128537a852f0.zip
Modify descriptions of artefact-capable items to allow for unquoted
descriptions for artefacts, so as not to drown the actually important information in flavour quotes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4483 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/database.h')
-rw-r--r--crawl-ref/source/database.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/database.h b/crawl-ref/source/database.h
index 8be7ed8ccc..c48c863a37 100644
--- a/crawl-ref/source/database.h
+++ b/crawl-ref/source/database.h
@@ -50,8 +50,9 @@ std::vector<std::string> database_find_bodies(DBM *database,
std::string getWeightedSpeechString(const std::string &key,
const std::string &suffix,
const int weight = -1);
-
-std::string getLongDescription(const std::string &key);
+
+std::string getLongDescription(const std::string &key,
+ bool noquote = false);
std::vector<std::string> getLongDescKeysByRegex(const std::string &regex,
db_find_filter filter = NULL);
std::vector<std::string> getLongDescBodiesByRegex(const std::string &regex,