summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/teleport.h
blob: a330edc78ee738b2fd3644b7a0308d519cfdcd06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef TELEPORT_H
#define TELEPORT_H

class actor;
class monsters;

void blink_closer(actor* victim, const coord_def& target);
void blink_away(monsters* mon);
void blink_range(monsters* mon);

bool random_near_space(const coord_def& origin, coord_def& target,
                       bool allow_adjacent = false, bool restrict_LOS = true,
                       bool forbid_dangerous = true,
                       bool forbid_sanctuary = false);

#endif