Remove formations for now

This commit is contained in:
2023-12-07 18:32:49 +01:00
parent 85511812b5
commit eac2d676d6
3 changed files with 3 additions and 6 deletions

View File

@@ -75,9 +75,6 @@ bool init(void *userData) {
}
});
input->unitPositions = bzArrayCreate(Position, 16);
game->stackAlloc = bzStackAllocCreate(10 * 1000 * 1000); // 10 MB
// init pools
game->pools.pathData = bzObjectPoolCreate(&(BzObjectPoolDesc) {
@@ -193,7 +190,6 @@ void deinit(void *userData) {
ecs_fini(ECS);
ECS = NULL;
bzArrayDestroy(inputCopy.unitPositions);
bzStackAllocDestroy(&gameCopy.stackAlloc);
bzObjectPoolDestroy(gameCopy.pools.pathData);
bzSpatialGridDestroy(gameCopy.entityGrid);