diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-06 23:16:52 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-06 23:18:47 +0200 |
commit | 7b70be56325e1d6f69b4a4ccc51a085aa51b0228 (patch) | |
tree | 183cd8cb6ae4a5879793e807acbba694d863234d /src/path-search.hpp | |
parent | 728d314ddbeff18dd4858498912f8501c5fc91b8 (diff) |
kill #if 0'd code
Diffstat (limited to 'src/path-search.hpp')
-rw-r--r-- | src/path-search.hpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/path-search.hpp b/src/path-search.hpp index a0e77398..c08065c7 100644 --- a/src/path-search.hpp +++ b/src/path-search.hpp @@ -84,15 +84,6 @@ public: static const pred& never_continue() noexcept; static const pred& always_continue() noexcept; -#if 0 - size_t cache_chunk_index(chunk_coords coord); - static size_t cache_tile_index(local_coords tile, Vector2i subdiv); - - void ensure_allocated(chunk_coords a, chunk_coords b); - void fill_cac`he(world& w, Vector2i cmin, Vector2i cmax, int8_t z, Vector2ub own_size, object_id own_id, const pred& p = never_continue()); - void fill_cache_(world& w, chunk_coords_ coord, Vector2ub own_size, object_id own_id, const pred& p = never_continue()); -#endif - // todo add simple bresenham short-circuit path_search_result Dijkstra(world& w, Vector2ub own_size, object_id own_id, global_coords from, Vector2b from_offset, global_coords to, Vector2b to_offset, const pred& p = never_continue()); path_search_result Dijkstra(world& w, const object& obj, global_coords to, Vector2b to_offset, const pred& p = never_continue()); |