#ifndef INCLUDE_PATHFINDING #define INCLUDE_PATHFINDING #include #include "players.h" #include "objects.h" #include "list.h" typedef struct t_pathfinding_request { vec2f start; vec2f end; array *to_fill; bool cancelled; bool done; } pathfinding_request; array global_pathfinding_queue; void make_pathfinding_request(vec2f start, vec2f end, array *to_fill, pathfinding_request *request); #endif