It'd be useful to add:
bool pathExists(Room room, int x, int y, int z) // does path exist or not
and
point3d findNearestTile(int x, int y, int z, int prefered_direction)
Useful for finding nearest cell to given coordinates. prefered_direction - is an argument, pointing at most desired direction, from which I'd like to start searching nearest cell. And it'd be great to make the direction of search not clockwise or counterCW, but pairwise (For ex.: prefered_direction = N, so next searching will be in NE, next in NW, then E and then W... etc.
Pathfinding improvements for OS
Return to “Features Wish List”
Who is online
Users browsing this forum: No registered users and 37 guests