diff options
Diffstat (limited to 'path.h')
| -rw-r--r-- | path.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -9,6 +9,9 @@ extern Path (*path_func)(int, Map, size_t **, size_t, size_t, Position, Position /* Time it took to calculate a path */ extern double path_time; +/* Controls whether walls should wrap around, only works in Dijkstra's */ +extern char wraparound_enabled; + /* dirs can be 4 or 8 to disallow or allow diagonal movement */ //Path breadth_first_search_path(int dirs, Map map, size_t **cell_costs, size_t width, size_t height, Position start, Position end, char **visited, char should_anim); Path dijkstra_path(int dirs, Map map, size_t **cell_costs, size_t width, size_t height, Position start, Position end, char **visited, char should_anim); |
