diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-25 04:45:17 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-25 04:48:09 +0100 |
| commit | 50e42d74c9b25e2ec4c6b9fd3434f431c0b5c3d9 (patch) | |
| tree | 826691d937867e21587fd87adb2de6d34175eecd /src/dijkstra.cpp | |
| parent | 4746d19f7a749808391d1ad7ee6bd86950ba064f (diff) | |
rename path_search -> search
Diffstat (limited to 'src/dijkstra.cpp')
| -rw-r--r-- | src/dijkstra.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/dijkstra.cpp b/src/dijkstra.cpp index 11c85d01..1f353e30 100644 --- a/src/dijkstra.cpp +++ b/src/dijkstra.cpp @@ -1,5 +1,5 @@ #include "astar.hpp" -#include "path-search-bbox.hpp" +#include "search-bbox.hpp" #include "compat/format.hpp" #include "compat/vector-wrapper.hpp" #include "compat/heap.hpp" @@ -16,10 +16,10 @@ namespace floormat { using visited = astar::visited; -using detail_astar::bbox; -using detail_astar::div_size; -using detail_astar::div_factor; -using detail_astar::min_size; +using Search::bbox; +using Search::div_size; +using Search::div_factor; +using Search::min_size; namespace { @@ -360,7 +360,7 @@ path_search_result astar::Dijkstra(world& w, const point from, const point to, } // namespace floormat -namespace floormat::detail_astar { +namespace floormat::Search { struct chunk_cache { @@ -498,4 +498,4 @@ std::array<chunk*, 8> cache::get_neighbors(world& w, chunk_coords_ ch0) return neighbors; } -} // namespace floormat::detail_astar +} // namespace floormat::Search |
