Rename ...New/...Free to ...Create/...Destroy

This commit is contained in:
2023-11-16 06:26:24 +01:00
parent 581da2b990
commit 9e6c836207
11 changed files with 34 additions and 34 deletions

View File

@@ -206,7 +206,7 @@ void render(float dt, void *userData) {
static PathNode *heap = NULL;
if (!heap)
heap = bzHeapNew(PathNode, game->map.width * game->map.height);
heap = bzHeapCreate(PathNode, game->map.width * game->map.height);
game->path.waypoints = game->waypoints;
game->path.maxWaypoints = 128;
findPath(&(PathfindingDesc) {