Fix and integrate BT

This commit is contained in:
2024-01-10 14:42:21 +01:00
parent a9d20cb7f9
commit 3ba5c8932b
16 changed files with 551 additions and 109 deletions

View File

@@ -37,9 +37,14 @@ typedef struct Game {
i64 pop;
} resources;
BzStackAlloc stackAlloc;
struct {
BzBTNode *workerHarvest;
BzBTNode *moveTo;
} BTs;
struct {
BzObjectPool *pathData;
BzObjectPool *actions;
BzObjectPool *btNode;
BzObjectPool *btNodeState;
} pools;
struct {
bool drawPath;