diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-26 16:39:35 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-26 16:39:35 +0000 |
commit | 3df2c03fc7434ef10dc8608617425c0969d18916 (patch) | |
tree | f2b016f808e573f0ac81d584cba9774899465d8c /crawl-ref/source/database.h | |
parent | 9c48662001a42b910d8e098a64673bd0636ca3d7 (diff) | |
download | crawl-ref-3df2c03fc7434ef10dc8608617425c0969d18916.tar.gz crawl-ref-3df2c03fc7434ef10dc8608617425c0969d18916.zip |
Add a FAQ part to the database, which can be accessed from the help
screen. This is intended as a pointer for general questions, not for
complicated information about rare, specific occurences. Feel free to
change stuff, or add more.
The Q:keyword/A:keyword solution is pretty rough, but I couldn't get the
database not to turn the questions into all lowercase otherwise. If
someone knows of a better method, I'm all ears!
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7981 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/database.h')
-rw-r--r-- | crawl-ref/source/database.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/database.h b/crawl-ref/source/database.h index a29b2dd3a0..e3b0b94750 100644 --- a/crawl-ref/source/database.h +++ b/crawl-ref/source/database.h @@ -68,4 +68,7 @@ std::string getHelpString(const std::string &topic); std::string getMiscString(const std::string &misc, const std::string &suffix = ""); +std::vector<std::string> getAllFAQKeys(void); +std::string getFAQ_Question(const std::string &key); +std::string getFAQ_Answer(const std::string &question); #endif |