summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.h
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-12-02 13:18:34 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-12-02 13:18:34 +1000
commitb16b25683f1733cdea0214e7914218d40b3b518f (patch)
treea549720015bc73f3f3b2924312343faf02565602 /crawl-ref/source/player.h
parentbd1ceb7e5828fd5f550ed66d82088689741035fc (diff)
downloadcrawl-ref-b16b25683f1733cdea0214e7914218d40b3b518f.tar.gz
crawl-ref-b16b25683f1733cdea0214e7914218d40b3b518f.zip
Wizard-mode controlled teleport (Ctrl-B).
Instantaneous, non-contaminating controlled teleport. Bypasses FPROP_NO_CTELE_INTO as well as -TELE artefacts.
Diffstat (limited to 'crawl-ref/source/player.h')
-rw-r--r--crawl-ref/source/player.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h
index b255150950..0e1376bd78 100644
--- a/crawl-ref/source/player.h
+++ b/crawl-ref/source/player.h
@@ -426,7 +426,9 @@ public:
void backlight();
void banish(const std::string &who = "");
void blink(bool allow_partial_control = true);
- void teleport(bool right_now = false, bool abyss_shift = false);
+ void teleport(bool right_now = false,
+ bool abyss_shift = false,
+ bool wizard = false);
void drain_stat(int stat, int amount, actor* attacker);
void expose_to_element(beam_type element, int strength = 0);