summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-08 17:27:22 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-08 17:27:22 +0000
commit20ed1f17fb8b62120c4a6bdd9236e16488f71d60 (patch)
tree765119ec8a72c423b9db249cb34ecb8910673293 /crawl-ref/source/religion.h
parent237d92fffc9462084126a2f1f6d299ad984c1eff (diff)
downloadcrawl-ref-20ed1f17fb8b62120c4a6bdd9236e16488f71d60.tar.gz
crawl-ref-20ed1f17fb8b62120c4a6bdd9236e16488f71d60.zip
Generalize god_hates_your_god() further.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4136 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.h')
-rw-r--r--crawl-ref/source/religion.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/religion.h b/crawl-ref/source/religion.h
index 062a0a3288..62fb239a85 100644
--- a/crawl-ref/source/religion.h
+++ b/crawl-ref/source/religion.h
@@ -54,7 +54,10 @@ int god_colour(god_type god);
void god_pitch(god_type which_god);
int piety_rank(int piety = -1);
void offer_items();
-bool god_hates_your_god(god_type god);
+bool god_hates_your_god(god_type god,
+ god_type your_god = you.religion);
+std::string god_hates_your_god_reaction(god_type god,
+ god_type your_god = you.religion);
bool god_likes_butchery(god_type god);
bool god_hates_butchery(god_type god);
harm_protection_type god_protects_from_harm(god_type god, bool actual = true);