Apply path finding algorithm into my internal c++ dll -- 2

Job ID: 34043004

Budget: $10 – $30 USD

I have an internal C++ dll that reads XY coordinates source and XY coordinates dest.

Your task is to include a pathfinding algorithm that will allow me to loop it in my current code.

Parameters that we must check:
- path->isWalkable
- path->isPathable
- path->getGroundSpeed

I will provide access to that data you will only have to include the path finding with this parameters:

std::vector<int> player_position{ player.x, player.y, player.z };
std::vector<int> walking_to_position{ waypoint.x, waypoint.y, waypoint.z };

DWORD tile = getTile(map, *(DWORD*)&walking_to_position);

bool tile_isWalkable = isWalkable(*(DWORD*)tile, 0);
bool tile_isPathable = isPathable(*(DWORD*)tile);
int tile_speed = getGroundSpeed(*(DWORD*)tile);

There is no preference of the algorithm, you can use A*, Dijkstra, point search or this one which is point search enhanced https://github.com/fgenesis/tinypile/blob/master/jps.hh
Related categories: C++ Programming Reverse Engineering