

Public Member Functions | |
| passage_path_calculator (const t_translation::t_map &mapdata, t_translation::t_terrain wall, double laziness, size_t windiness) | |
| virtual double | cost (const map_location &loc, const double so_far) const |
Private Attributes | |
| const t_translation::t_map & | map_ |
| t_translation::t_terrain | wall_ |
| double | laziness_ |
| size_t | windiness_ |
Definition at line 276 of file cavegen.cpp.
| passage_path_calculator::passage_path_calculator | ( | const t_translation::t_map & | mapdata, | |
| t_translation::t_terrain | wall, | |||
| double | laziness, | |||
| size_t | windiness | |||
| ) | [inline] |
Definition at line 278 of file cavegen.cpp.
| double passage_path_calculator::cost | ( | const map_location & | loc, | |
| const double | so_far | |||
| ) | const [virtual] |
Implements pathfind::cost_calculator.
Definition at line 291 of file cavegen.cpp.
References gamemap::default_border, laziness_, map_, wall_, windiness_, map_location::x, and map_location::y.
double passage_path_calculator::laziness_ [private] |
Definition at line 287 of file cavegen.cpp.
Referenced by cost().
const t_translation::t_map& passage_path_calculator::map_ [private] |
Definition at line 285 of file cavegen.cpp.
Referenced by cost().
Definition at line 286 of file cavegen.cpp.
Referenced by cost().
size_t passage_path_calculator::windiness_ [private] |
Definition at line 288 of file cavegen.cpp.
Referenced by cost().
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:13:18 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |