diff options
author | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-08-21 19:16:53 +0200 |
---|---|---|
committer | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-08-21 19:16:53 +0200 |
commit | 78c700559a517da5ac4b1f09ca5d7829a4e1673b (patch) | |
tree | 115b49abddee88f9daa703d935daf02bdc3e8fdb /crawl-ref/source/spl-transloc.h | |
parent | 75401c404aec74bbc58c49081153e2365e4b9652 (diff) | |
download | crawl-ref-78c700559a517da5ac4b1f09ca5d7829a4e1673b.tar.gz crawl-ref-78c700559a517da5ac4b1f09ca5d7829a4e1673b.zip |
Move Translocation spells into a file of their own.
Again, I grouped the spells according to shared functionality
rather than actual spell schools, so e.g. Dispersal and
Phase Shift are not included.
Diffstat (limited to 'crawl-ref/source/spl-transloc.h')
-rw-r--r-- | crawl-ref/source/spl-transloc.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-transloc.h b/crawl-ref/source/spl-transloc.h new file mode 100644 index 0000000000..34d67cf2aa --- /dev/null +++ b/crawl-ref/source/spl-transloc.h @@ -0,0 +1,20 @@ +#ifndef SPL_TRANSLOC_H +#define SPL_TRANSLOC_H + +int blink(int pow, bool high_level_controlled_blink, bool wizard_blink = false); +void random_blink(bool, bool override_abyss = false); + +bool allow_control_teleport(bool quiet = false); +void you_teleport(); +void you_teleport_now(bool allow_control, + bool new_abyss_area = false, + bool wizard_tele = false); +bool you_teleport_to(const coord_def where, + bool move_monsters = false); +int portal(); + +bool cast_portal_projectile(int pow); +bool cast_apportation(int powc, const coord_def& where); +int cast_semi_controlled_blink(int pow); + +#endif |