#include <flood_find.h>
Public Member Functions | |
flood_find (const fgrd &f, const bound_check &bc, bool avoid_vaults=false, bool _check_traversable=true) | |
void | add_feat (int feat) |
void | add_point (const coord_def &pos) |
coord_def | find_first_from (const coord_def &c, const map_mask &vlts) |
bool | points_connected_from (const coord_def &start) |
bool | any_point_connected_from (const coord_def &start) |
bool | has_exit_from (const coord_def &start) |
bool | did_leave_vault () const |
Protected Member Functions | |
bool | path_flood (const coord_def &c, const coord_def &dc) |
Protected Attributes | |
bool | point_hunt |
bool | want_exit |
bool | no_vault |
bool | check_traversable |
bool | needed_features [NUM_FEATURES] |
std::vector< coord_def > | needed_points |
bool | left_vault |
const map_mask * | vaults |
const fgrd & | fgrid |
const bound_check & | bcheck |
flood_find< fgrd, bound_check >::flood_find | ( | const fgrd & | f, | |
const bound_check & | bc, | |||
bool | avoid_vaults = false , |
|||
bool | _check_traversable = true | |||
) | [inline] |
void flood_find< fgrd, bound_check >::add_feat | ( | int | feat | ) | [inline] |
void flood_find< fgrd, bound_check >::add_point | ( | const coord_def & | pos | ) | [inline] |
coord_def flood_find< fgrd, bound_check >::find_first_from | ( | const coord_def & | c, | |
const map_mask & | vlts | |||
) | [inline] |
bool flood_find< fgrd, bound_check >::points_connected_from | ( | const coord_def & | start | ) | [inline] |
bool flood_find< fgrd, bound_check >::any_point_connected_from | ( | const coord_def & | start | ) | [inline] |
bool flood_find< fgrd, bound_check >::has_exit_from | ( | const coord_def & | start | ) | [inline] |
bool flood_find< fgrd, bound_check >::did_leave_vault | ( | ) | const [inline] |
bool flood_find< fgrd, bound_check >::path_flood | ( | const coord_def & | c, | |
const coord_def & | dc | |||
) | [inline, protected, virtual] |
bool flood_find< fgrd, bound_check >::point_hunt [protected] |
bool flood_find< fgrd, bound_check >::want_exit [protected] |
bool flood_find< fgrd, bound_check >::no_vault [protected] |
bool flood_find< fgrd, bound_check >::check_traversable [protected] |
bool flood_find< fgrd, bound_check >::needed_features[NUM_FEATURES] [protected] |
std::vector<coord_def> flood_find< fgrd, bound_check >::needed_points [protected] |
bool flood_find< fgrd, bound_check >::left_vault [protected] |
const map_mask* flood_find< fgrd, bound_check >::vaults [protected] |
const fgrd& flood_find< fgrd, bound_check >::fgrid [protected] |
const bound_check& flood_find< fgrd, bound_check >::bcheck [protected] |