summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/religion.h')
-rw-r--r--crawl-ref/source/religion.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/crawl-ref/source/religion.h b/crawl-ref/source/religion.h
index e7117ca90b..7b2d8e7b03 100644
--- a/crawl-ref/source/religion.h
+++ b/crawl-ref/source/religion.h
@@ -16,8 +16,6 @@
#include "enum.h"
-#define MAX_PIETY 200
-
class actor;
class monsters;
@@ -27,7 +25,7 @@ int piety_breakpoint(int i);
const char *god_name(god_type which_god, bool long_name = false); //mv
void dec_penance(int val);
void dec_penance(god_type god, int val);
-bool did_god_conduct(conduct_type thing_done, int pgain, bool known = true,
+bool did_god_conduct(conduct_type thing_done, int pgain,
const actor *victim = NULL);
void excommunication(void);
void gain_piety(int pgn);
@@ -43,9 +41,13 @@ int piety_rank(int piety = -1);
void offer_items();
bool god_likes_butchery(god_type god);
bool god_hates_butchery(god_type god);
-bool god_protects_from_harm(god_type god);
void divine_retribution(god_type god);
+bool xom_is_nice();
+void xom_is_stimulated(int maxinterestingness);
+void xom_acts(bool niceness, int sever);
+const char *describe_xom_favour();
+
bool beogh_water_walk();
void beogh_idol_revenge();
void beogh_convert_orc(monsters *orc, bool emergency);
@@ -53,7 +55,10 @@ bool ely_destroy_weapons();
bool trog_burn_books();
bool tso_stab_safe_monster(const actor *act);
-bool is_evil_god(god_type god);
-bool is_good_god(god_type god);
+
+inline void xom_acts(int sever)
+{
+ xom_acts(xom_is_nice(), sever);
+}
#endif