summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion-enum.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2010-03-03 14:46:21 +0100
committerRobert Vollmert <rvollmert@gmx.net>2010-03-03 15:27:09 +0100
commitfc393cbc9d51506368cc605e0ccbe96b56a99522 (patch)
tree968f36ca1350d826f4fd5e3e80b0ddcc9c756379 /crawl-ref/source/religion-enum.h
parentee3283ba2ae8368e3f9a367d7fe78fabadeb8a10 (diff)
downloadcrawl-ref-fc393cbc9d51506368cc605e0ccbe96b56a99522.tar.gz
crawl-ref-fc393cbc9d51506368cc605e0ccbe96b56a99522.zip
Merge Jiyva item sacrifice with offer_items().
Precisely, export sacrifice_item_stack() and use that in _monster_eat_item. Further, update _sacrifice_one_item_noncount to include Jiyva with Nemelex-like piety gain. The numbers should probably be tweaked.
Diffstat (limited to 'crawl-ref/source/religion-enum.h')
-rw-r--r--crawl-ref/source/religion-enum.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/crawl-ref/source/religion-enum.h b/crawl-ref/source/religion-enum.h
new file mode 100644
index 0000000000..475ffd8666
--- /dev/null
+++ b/crawl-ref/source/religion-enum.h
@@ -0,0 +1,20 @@
+#ifndef RELIGION_ENUM_H
+#define RELIGION_ENUM_H
+
+enum piety_gain_t
+{
+ PIETY_NONE, PIETY_SOME, PIETY_LOTS,
+ NUM_PIETY_GAIN
+};
+
+enum harm_protection_type
+{
+ HPT_NONE = 0,
+ HPT_PRAYING,
+ HPT_ANYTIME,
+ HPT_PRAYING_PLUS_ANYTIME,
+ HPT_RELIABLE_PRAYING_PLUS_ANYTIME,
+ NUM_HPTS
+};
+
+#endif