summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/teleport.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-13 23:34:54 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-14 00:45:06 +0100
commited044f5b883fb2cea4abf3e2bb8d6278a1483ebe (patch)
treee5d13738ce8a6746dcb9e51bfba139a834f3b3a1 /crawl-ref/source/teleport.h
parent5c15e6abda97c19829d5b2b348b422f3857b42f7 (diff)
downloadcrawl-ref-ed044f5b883fb2cea4abf3e2bb8d6278a1483ebe.tar.gz
crawl-ref-ed044f5b883fb2cea4abf3e2bb8d6278a1483ebe.zip
Implement function to blink an actor closer to another actor.
Diffstat (limited to 'crawl-ref/source/teleport.h')
-rw-r--r--crawl-ref/source/teleport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/teleport.h b/crawl-ref/source/teleport.h
index bc762bae91..7c46188386 100644
--- a/crawl-ref/source/teleport.h
+++ b/crawl-ref/source/teleport.h
@@ -1,6 +1,8 @@
#ifndef TELEPORT_H
#define TELEPORT_H
+void blink_closer(const coord_def& target);
+
bool random_near_space(const coord_def& origin, coord_def& target,
bool allow_adjacent = false, bool restrict_LOS = true,
bool forbid_dangerous = true,