File: mon-movetarget.h

package info (click to toggle)
crawl 2%3A0.7.1-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 30,420 kB
  • ctags: 23,018
  • sloc: cpp: 244,317; ansic: 16,144; perl: 2,214; makefile: 984; python: 488; objc: 250; ruby: 200; sh: 140
file content (18 lines) | stat: -rw-r--r-- 693 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef MON_MOVE_TARGET_H
#define MON_MOVE_TARGET_H

struct level_exit;

bool try_pathfind(monsters *mon, const dungeon_feature_type can_move);
bool find_wall_target(monsters *mon);
void check_wander_target(monsters *mon, bool isPacified = false,
                         dungeon_feature_type can_move = DNGN_UNSEEN);
int mons_find_nearest_level_exit(const monsters *mon,
                                 std::vector<level_exit> &e,
                                 bool reset = false);
void set_random_slime_target(monsters* mon);
bool find_siren_water_target(monsters *mon);
bool pacified_leave_level(monsters *mon, std::vector<level_exit> e,
                          int e_index);

#endif