summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-08 21:43:07 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-08 21:43:07 +0000
commit4e09ab3a1e2477f405ec94e02a4b5aba22928b7a (patch)
tree575e3011fbcecdf9684d4170abb024271df60424 /crawl-ref/source/spl-cast.cc
parent28595dfdcc32c09e67c728eb3cba0af9acab38fe (diff)
downloadcrawl-ref-4e09ab3a1e2477f405ec94e02a4b5aba22928b7a.tar.gz
crawl-ref-4e09ab3a1e2477f405ec94e02a4b5aba22928b7a.zip
Move most of the demon-summoning routines to spells3.cc, since they're
unholy. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5611 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc32
1 files changed, 16 insertions, 16 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index 97347baa5d..eb1feb86ed 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -1483,10 +1483,6 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail)
cast_summon_swarm(powc);
break;
- case SPELL_CALL_IMP:
- cast_call_imp(powc);
- break;
-
case SPELL_CALL_CANINE_FAMILIAR:
cast_call_canine_familiar(powc);
break;
@@ -1496,14 +1492,6 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail)
return (SPRET_ABORT);
break;
- case SPELL_SUMMON_DEMON:
- cast_summon_demon(powc);
- break;
-
- case SPELL_DEMONIC_HORDE:
- cast_demonic_horde(powc);
- break;
-
case SPELL_SUMMON_ICE_BEAST:
cast_summon_ice_beast(powc);
break;
@@ -1512,10 +1500,6 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail)
cast_summon_ugly_thing(powc);
break;
- case SPELL_SUMMON_GREATER_DEMON:
- cast_summon_greater_demon(powc);
- break;
-
case SPELL_SUMMON_GUARDIAN:
summon_guardian(powc);
break;
@@ -1537,6 +1521,22 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail)
cast_tukimas_dance(powc);
break;
+ case SPELL_CALL_IMP:
+ cast_call_imp(powc);
+ break;
+
+ case SPELL_SUMMON_DEMON:
+ cast_summon_demon(powc);
+ break;
+
+ case SPELL_DEMONIC_HORDE:
+ cast_demonic_horde(powc);
+ break;
+
+ case SPELL_SUMMON_GREATER_DEMON:
+ cast_summon_greater_demon(powc);
+ break;
+
case SPELL_SUMMON_HORRIBLE_THINGS:
cast_summon_horrible_things(powc);
break;