From 8b989e877550fcc89c79e06905a2128537a852f0 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Tue, 22 Apr 2008 19:40:42 +0000 Subject: 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 --- crawl-ref/source/database.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/database.h') 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 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 getLongDescKeysByRegex(const std::string ®ex, db_find_filter filter = NULL); std::vector getLongDescBodiesByRegex(const std::string ®ex, -- cgit v1.2.3-54-g00ecf