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

struct level_exit;

bool target_is_unreachable(monster* mon);
bool try_pathfind(monster* mon);
void check_wander_target(monster* mon, bool isPacified = false);
int mons_find_nearest_level_exit(const monster* mon, vector<level_exit> &e,
                                 bool reset = false);
void set_random_slime_target(monster* mon);
bool find_siren_water_target(monster* mon);
bool pacified_leave_level(monster* mon, vector<level_exit> e, int e_index);

bool can_go_straight(const monster* mon, const coord_def& p1,
                     const coord_def& p2);
#endif