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-08-04 11:35:24 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-08-04 11:35:24 +0000
commit33cc9b2e7e19d9866827331d17d467b2b882e22f (patch)
tree5230f7390f2fb87512b977f026922e3eac52117c /crawl-ref/source/database.h
parent95e55a6b22e03054efbdf9af7625832883298a2d (diff)
downloadcrawl-ref-33cc9b2e7e19d9866827331d17d467b2b882e22f.tar.gz
crawl-ref-33cc9b2e7e19d9866827331d17d467b2b882e22f.zip
* Move all quotes into quotes.txt and a database of their own.
* Adapt Matthew's code to use quotes if there's enough space left. * Skip the general description of player ghosts that only repeats the specific description but with less information. * Don't refer to ghosts as "xyz's ghost the player ghost" git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6766 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 9a5c44e9ba..a29b2dd3a0 100644
--- a/crawl-ref/source/database.h
+++ b/crawl-ref/source/database.h
@@ -51,8 +51,9 @@ std::string getWeightedSpeechString(const std::string &key,
const std::string &suffix,
const int weight = -1);
-std::string getLongDescription(const std::string &key,
- bool noquote = false);
+std::string getQuoteString(const std::string &key);
+std::string getLongDescription(const std::string &key);
+
std::vector<std::string> getLongDescKeysByRegex(const std::string &regex,
db_find_filter filter = NULL);
std::vector<std::string> getLongDescBodiesByRegex(const std::string &regex,