summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-15 23:12:03 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-15 23:12:03 +0000
commitfef9f681531bf38dc5a969ba9d502418239f89c4 (patch)
tree254823fdbf77bb313f407aed250963cfa3fb275e /crawl-ref/source/religion.h
parent640681c01424da536a923083e0f39d346e219f44 (diff)
downloadcrawl-ref-fef9f681531bf38dc5a969ba9d502418239f89c4.tar.gz
crawl-ref-fef9f681531bf38dc5a969ba9d502418239f89c4.zip
Move the tutorial descriptions of gods' likes and dislikes into
functions of their own, and reuse them in the god descriptions ('^' screen, when praying at altars, and when searching the database). What's still missing is some sort of "What this god offers you". The current handling makes gods like Lugonu, who have no restrictions and demand very little, appear like no-brainers, when of course the whole thing is much more complicated. I'll also be adding some extended information for the ^ screen (thus for your own god only). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5870 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.h')
-rw-r--r--crawl-ref/source/religion.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/religion.h b/crawl-ref/source/religion.h
index 63aec2b5c9..60b3fbd094 100644
--- a/crawl-ref/source/religion.h
+++ b/crawl-ref/source/religion.h
@@ -60,6 +60,11 @@ bool god_gives_permanent_followers(god_type god);
void simple_god_message(const char *event, god_type which_deity = you.religion);
int piety_breakpoint(int i);
std::string god_name(god_type which_god, bool long_name = false);
+god_type string_to_god(const char *name);
+
+std::string print_god_likes(god_type which_god, bool verbose = false);
+std::string print_god_dislikes(god_type which_god, bool verbose = false);
+
void dec_penance(int val);
void dec_penance(god_type god, int val);