MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / AIPathFreePath

Function AIPathFreePath

Descent3/aipath.cpp:589–601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

587}
588
589bool AIPathFreePath(ai_path_info *aip) {
590 int i;
591
592 for (i = 0; i < aip->num_paths; i++) {
593 if (aip->path_type[i] == AIP_DYNAMIC) {
594 AIPathFreeDPathSlot(aip->path_id[i]);
595 }
596 }
597
598 AIPathInitPath(aip);
599
600 return true;
601}
602
603static bool AIPathAddDPath(ai_path_info *aip, int handle) {
604 int slot;

Callers 9

AIDestroyObjFunction · 0.85
ai_decrease_awarenessFunction · 0.85
AIGenerateAltBNodePathFunction · 0.85
AIGenerateBNodePathFunction · 0.85
AIPathAllocPathFunction · 0.85
AIPathSetAsStaticPathFunction · 0.85
MakeTestPathFunction · 0.85
GoalClearGoalFunction · 0.85
GoalDoFrameFunction · 0.85

Calls 2

AIPathFreeDPathSlotFunction · 0.85
AIPathInitPathFunction · 0.85

Tested by

no test coverage detected