From 50e42d74c9b25e2ec4c6b9fd3434f431c0b5c3d9 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 25 Feb 2024 04:45:17 +0100 Subject: rename path_search -> search --- src/dijkstra.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/dijkstra.cpp') 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 cache::get_neighbors(world& w, chunk_coords_ ch0) return neighbors; } -} // namespace floormat::detail_astar +} // namespace floormat::Search -- cgit v1.2.3