summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-06 21:01:46 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-06 21:01:46 +0000
commite76fa04ee8cfd52c224e3ec72ff0b23796eb6029 (patch)
tree73fa8ac4235a5c609027c62b5534d9c575c3e467 /crawl-ref/source/spells2.h
parent703ecf2d592818a7bbffc70bc49a943ab7f24a33 (diff)
downloadcrawl-ref-e76fa04ee8cfd52c224e3ec72ff0b23796eb6029.tar.gz
crawl-ref-e76fa04ee8cfd52c224e3ec72ff0b23796eb6029.zip
Allow creation of non-friendly god gifts. The BEH_GOD_GIFT behavior has
been removed, and the MF_GOD_GIFT flag is set directly instead. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5503 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells2.h')
-rw-r--r--crawl-ref/source/spells2.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/spells2.h b/crawl-ref/source/spells2.h
index 8efb768298..8b5e3f5c5c 100644
--- a/crawl-ref/source/spells2.h
+++ b/crawl-ref/source/spells2.h
@@ -132,7 +132,8 @@ bool restore_stat(unsigned char which_stat, unsigned char stat_gain,
/* ***********************************************************************
* called from: ability - spell
* *********************************************************************** */
-void summon_ice_beast_etc(int pow, monster_type ibc, bool divine_gift = false);
+bool summon_ice_beast_etc(int pow, monster_type mon, beh_type beha,
+ bool god_gift);
// last updated 24may2000 {dlb}
@@ -152,13 +153,13 @@ void summon_animals(int pow);
* *********************************************************************** */
void summon_small_mammals(int pow);
-bool summon_berserker(int pow, bool god_gift);
+bool summon_berserker(int pow, beh_type beha, bool god_gift);
// last updated 24may2000 {dlb}
/* ***********************************************************************
* called from: ability - religion - spell
* *********************************************************************** */
-bool summon_swarm( int pow, bool unfriendly, bool god_gift );
+bool summon_swarm(int pow, beh_type beha, bool god_gift);
// last updated 24may2000 {dlb}