diff options
author | nlanza <nlanza@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-08-13 02:19:00 +0000 |
---|---|---|
committer | nlanza <nlanza@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-08-13 02:19:00 +0000 |
commit | aa88fdd8c6ad2da5eb5bd933e2d53d56cd8c176f (patch) | |
tree | d0551b96eaebb5b55694579fb8dae4abc7a38407 /crawl-ref/source/spells2.h | |
parent | 2b32f164e6ca1c4b3d587789f6cf46f46fe02fe8 (diff) | |
download | crawl-ref-aa88fdd8c6ad2da5eb5bd933e2d53d56cd8c176f.tar.gz crawl-ref-aa88fdd8c6ad2da5eb5bd933e2d53d56cd8c176f.zip |
Clean up a mistake in the SVN import.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells2.h')
-rw-r--r-- | crawl-ref/source/spells2.h | 179 |
1 files changed, 179 insertions, 0 deletions
diff --git a/crawl-ref/source/spells2.h b/crawl-ref/source/spells2.h new file mode 100644 index 0000000000..8c3bef71c5 --- /dev/null +++ b/crawl-ref/source/spells2.h @@ -0,0 +1,179 @@ +/* + * File: spells2.cc + * Summary: Implementations of some additional spells. + * Written by: Linley Henzell + * + * Modified for Crawl Reference by $Author$ on $Date$ + * + * Change History (most recent first): + * + * <1> -/--/-- LRH Created + */ + +#ifndef SPELLS2_H +#define SPELLS2_H + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: spell + * *********************************************************************** */ +bool brand_weapon(int which_brand, int power); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: ability - spell + * *********************************************************************** */ +int animate_a_corpse(int axps, int ayps, int corps_beh, int corps_hit, int class_allowed); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: ability - it_use3 - monstuff - mstuff2 - spell + * *********************************************************************** */ +int animate_dead(int power, int corps_beh, int corps_hit, int actual); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: spell + * *********************************************************************** */ +char burn_freeze(int pow, char b_f); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: spell + * *********************************************************************** */ +int corpse_rot(int power); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: it_use3 - spell + * *********************************************************************** */ +int summon_elemental(int pow, int restricted_type, unsigned char unfriendly); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: spell + * *********************************************************************** */ +int vampiric_drain(int pow); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: spell + * *********************************************************************** */ +unsigned char detect_creatures( int pow ); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: spell + * *********************************************************************** */ +unsigned char detect_items( int pow ); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: spell + * *********************************************************************** */ +unsigned char detect_traps( int pow ); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: item_use - spell + * *********************************************************************** */ +void cast_refrigeration(int pow); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: item_use - spell + * *********************************************************************** */ +void cast_toxic_radiance(void); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: spell + * *********************************************************************** */ +void cast_twisted(int power, int corps_beh, int corps_hit); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: ability + * *********************************************************************** */ +void drain_life(int pow); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: ability - spell + * *********************************************************************** */ +void holy_word(int pow); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: ability - food - it_use2 - spell + * returns TRUE if a stat was restored. + * *********************************************************************** */ +bool restore_stat(unsigned char which_stat, bool suppress_msg); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: ability - spell + * *********************************************************************** */ +void summon_ice_beast_etc(int pow, int ibc); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: spell + * *********************************************************************** */ +void summon_scorpions(int pow); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: spell + * *********************************************************************** */ +void summon_small_mammals(int pow); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: ability - religion - spell + * *********************************************************************** */ +bool summon_swarm( int pow, bool unfriendly, bool god_gift ); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: spell + * *********************************************************************** */ +void summon_things(int pow); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: spell + * *********************************************************************** */ +void summon_undead(int pow); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: ability - spell + * *********************************************************************** */ +void turn_undead(int pow); // what should I use for pow? + + +#endif |