flood_find< fgrd, bound_check > Class Template Reference

#include <flood_find.h>

Inheritance diagram for flood_find< fgrd, bound_check >:

Inheritance graph
[legend]
Collaboration diagram for flood_find< fgrd, bound_check >:

Collaboration graph
[legend]

List of all members.

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_defneeded_points
bool left_vault
const map_maskvaults
const fgrd & fgrid
const bound_check & bcheck

template<typename fgrd, typename bound_check>
class flood_find< fgrd, bound_check >


Constructor & Destructor Documentation

template<typename fgrd, typename bound_check>
flood_find< fgrd, bound_check >::flood_find ( const fgrd &  f,
const bound_check &  bc,
bool  avoid_vaults = false,
bool  _check_traversable = true 
) [inline]


Member Function Documentation

template<typename fgrd, typename bound_check>
void flood_find< fgrd, bound_check >::add_feat ( int  feat  )  [inline]

template<typename fgrd, typename bound_check>
void flood_find< fgrd, bound_check >::add_point ( const coord_def pos  )  [inline]

template<typename fgrd, typename bound_check>
coord_def flood_find< fgrd, bound_check >::find_first_from ( const coord_def c,
const map_mask vlts 
) [inline]

Here is the call graph for this function:

template<typename fgrd, typename bound_check>
bool flood_find< fgrd, bound_check >::points_connected_from ( const coord_def start  )  [inline]

Here is the call graph for this function:

template<typename fgrd, typename bound_check>
bool flood_find< fgrd, bound_check >::any_point_connected_from ( const coord_def start  )  [inline]

Here is the call graph for this function:

template<typename fgrd, typename bound_check>
bool flood_find< fgrd, bound_check >::has_exit_from ( const coord_def start  )  [inline]

Here is the call graph for this function:

template<typename fgrd, typename bound_check>
bool flood_find< fgrd, bound_check >::did_leave_vault (  )  const [inline]

template<typename fgrd, typename bound_check>
bool flood_find< fgrd, bound_check >::path_flood ( const coord_def c,
const coord_def dc 
) [inline, protected, virtual]

Reimplemented from travel_pathfind.

Here is the call graph for this function:


Member Data Documentation

template<typename fgrd, typename bound_check>
bool flood_find< fgrd, bound_check >::point_hunt [protected]

template<typename fgrd, typename bound_check>
bool flood_find< fgrd, bound_check >::want_exit [protected]

template<typename fgrd, typename bound_check>
bool flood_find< fgrd, bound_check >::no_vault [protected]

template<typename fgrd, typename bound_check>
bool flood_find< fgrd, bound_check >::check_traversable [protected]

template<typename fgrd, typename bound_check>
bool flood_find< fgrd, bound_check >::needed_features[NUM_FEATURES] [protected]

template<typename fgrd, typename bound_check>
std::vector<coord_def> flood_find< fgrd, bound_check >::needed_points [protected]

template<typename fgrd, typename bound_check>
bool flood_find< fgrd, bound_check >::left_vault [protected]

template<typename fgrd, typename bound_check>
const map_mask* flood_find< fgrd, bound_check >::vaults [protected]

template<typename fgrd, typename bound_check>
const fgrd& flood_find< fgrd, bound_check >::fgrid [protected]

template<typename fgrd, typename bound_check>
const bound_check& flood_find< fgrd, bound_check >::bcheck [protected]


The documentation for this class was generated from the following file:

Generated on Thu Jan 13 13:33:33 2011 by  doxygen 1.5.6