From f29d35faf7cc574a1a8c109f2f609db9d3d4b5ef Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sun, 11 Dec 2022 20:00:21 +0100 Subject: bazinga --- include/pathfinding.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/pathfinding.h') diff --git a/include/pathfinding.h b/include/pathfinding.h index 2b38766..6bef101 100644 --- a/include/pathfinding.h +++ b/include/pathfinding.h @@ -3,6 +3,7 @@ #include +#include "allocator.h" #include "players.h" #include "objects.h" #include "list.h" @@ -12,8 +13,8 @@ typedef struct t_pathfinding_request vec2f start; vec2f end; array *to_fill; - bool cancelled; - bool done; + uint64_t timestamp; + mutex mutex; } pathfinding_request; array global_pathfinding_queue; -- cgit v1.2.3-70-g09d2