diff options
author | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-08-21 21:10:33 +0200 |
---|---|---|
committer | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-08-21 21:10:33 +0200 |
commit | 4d7739272daa59b755b5070e7bd58d800aa7d110 (patch) | |
tree | e48c96381d094f681818e792b6e1ac972ac4593c /crawl-ref/source/spl-clouds.h | |
parent | 78c700559a517da5ac4b1f09ca5d7829a4e1673b (diff) | |
download | crawl-ref-4d7739272daa59b755b5070e7bd58d800aa7d110.tar.gz crawl-ref-4d7739272daa59b755b5070e7bd58d800aa7d110.zip |
Move cloud-generating spells into new file spl-clouds.cc.
Diffstat (limited to 'crawl-ref/source/spl-clouds.h')
-rw-r--r-- | crawl-ref/source/spl-clouds.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-clouds.h b/crawl-ref/source/spl-clouds.h new file mode 100644 index 0000000000..92125de7d0 --- /dev/null +++ b/crawl-ref/source/spl-clouds.h @@ -0,0 +1,34 @@ +#ifndef SPL_CLOUDS_H +#define SPL_CLOUDS_H + +struct bolt; + +bool conjure_flame(int pow, const coord_def& where); +bool stinking_cloud(int pow, bolt &beam); + +void big_cloud(cloud_type cl_type, kill_category whose, const coord_def& where, + int pow, int size, int spread_rate = -1, int colour = -1, + std::string name = "", std::string tile = ""); +void big_cloud(cloud_type cl_type, killer_type killer, const coord_def& where, + int pow, int size, int spread_rate = -1, int colour = -1, + std::string name = "", std::string tile = ""); +void big_cloud(cloud_type cl_type, kill_category whose, killer_type killer, + const coord_def& where, int pow, int size, int spread_rate = -1, + int colour = -1, std::string name = "", std::string tile = ""); + +int cast_big_c(int pow, cloud_type cty, kill_category whose, bolt &beam); + +void cast_ring_of_flames(int power); +void manage_fire_shield(int delay); + +void corpse_rot(); + +int make_a_normal_cloud(coord_def where, int pow, int spread_rate, + cloud_type ctype, kill_category, + killer_type killer = KILL_NONE, int colour = -1, + std::string name = "", std::string tile = ""); + +std::string get_evaporate_result_list(int potion); +bool cast_evaporate(int pow, bolt& beem, int potion); + +#endif |