Public Member Functions | |
passage_path_calculator (const t_translation::ter_map &mapdata, const t_translation::terrain_code &wall, double laziness, std::size_t windiness, std::mt19937 &rng) | |
virtual double | cost (const map_location &loc, const double so_far) const |
Public Member Functions inherited from pathfind::cost_calculator | |
cost_calculator () | |
virtual | ~cost_calculator () |
Private Attributes | |
const t_translation::ter_map & | map_ |
t_translation::terrain_code | wall_ |
double | laziness_ |
std::size_t | windiness_ |
std::mt19937 & | rng_ |
Additional Inherited Members | |
Static Public Member Functions inherited from pathfind::cost_calculator | |
static double | getNoPathValue () |
Definition at line 279 of file cave_map_generator.cpp.
|
inline |
Definition at line 281 of file cave_map_generator.cpp.
|
virtual |
Implements pathfind::cost_calculator.
Definition at line 297 of file cave_map_generator.cpp.
References gamemap_base::default_border, loc, cave_map_generator::wall_, map_location::x, and map_location::y.
|
private |
Definition at line 292 of file cave_map_generator.cpp.
|
private |
Definition at line 290 of file cave_map_generator.cpp.
|
private |
Definition at line 294 of file cave_map_generator.cpp.
|
private |
Definition at line 291 of file cave_map_generator.cpp.
|
private |
Definition at line 293 of file cave_map_generator.cpp.