summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godpassive.h
diff options
context:
space:
mode:
authorShayne Halvorson <N78291@gmail.com>2010-09-30 16:16:57 -0400
committerAdam Borowski <kilobyte@angband.pl>2010-10-01 00:57:29 +0200
commit20c6bc499e9ed4924983633890e9d08d76c001e7 (patch)
tree482a295350fa4368a6f1bf9f096d15fe15db762c /crawl-ref/source/godpassive.h
parent79a4f6386fdcdb6f685c7081927a0fff423588d6 (diff)
downloadcrawl-ref-20c6bc499e9ed4924983633890e9d08d76c001e7.tar.gz
crawl-ref-20c6bc499e9ed4924983633890e9d08d76c001e7.zip
Food, hp and mp for Jiyvaites on jelly eating
Diffstat (limited to 'crawl-ref/source/godpassive.h')
-rw-r--r--crawl-ref/source/godpassive.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/crawl-ref/source/godpassive.h b/crawl-ref/source/godpassive.h
index 3fee2b6d94..67bbf440d0 100644
--- a/crawl-ref/source/godpassive.h
+++ b/crawl-ref/source/godpassive.h
@@ -6,6 +6,8 @@
#ifndef GODPASSIVE_H
#define GODPASSIVE_H
+#include "religion-enum.h"
+
enum che_boost_type
{
CB_RNEG,
@@ -21,9 +23,18 @@ enum che_change_type
CB_PONDEROUS, // Change in number of worn ponderous items.
};
+enum jiyva_slurp_results
+{
+ JS_NONE = 0,
+ JS_FOOD = 1,
+ JS_HP = 2,
+ JS_MP = 4,
+};
+
int che_boost_level();
int che_boost(che_boost_type bt, int level = che_boost_level());
void che_handle_change(che_change_type ct, int diff);
void jiyva_eat_offlevel_items();
+void jiyva_slurp_bonus(int item_value, int *js);
#endif