Allocate path with object pool for pathfinding

This commit is contained in:
2023-11-16 07:23:56 +01:00
parent 9e6c836207
commit af99504370
9 changed files with 110 additions and 64 deletions

View File

@@ -20,6 +20,7 @@ typedef struct PathNode {
typedef struct PathfindingDesc {
TilePosition start;
TilePosition target;
BzObjectPool *pool;
BzTileMap *map;
PathNode *heap;
Path *outPath;