Rework pathfinding to use Vector2, form formations

This commit is contained in:
2023-11-23 12:01:42 +01:00
parent 513168825c
commit 0dc8046d8f
6 changed files with 129 additions and 85 deletions

View File

@@ -14,8 +14,8 @@ typedef struct PathNode {
} PathNode;
typedef struct PathfindingDesc {
TilePosition start;
TilePosition target;
Position start;
Position target;
BzObjectPool *pool;
BzTileMap *map;
PathNode *openSet; // heap