A C implementation of the Jump Point Search pathfinding algorithm