summaryrefslogtreecommitdiff
path: root/include/pathfinding.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pathfinding.h')
-rw-r--r--include/pathfinding.h5
1 files changed, 3 insertions, 2 deletions
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 <projectbase/project_base.h>
+#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;