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

Function AIPathGetNextNodePos

Descent3/aipath.cpp:318–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316}
317
318bool AIPathGetNextNodePos(ai_path_info *aip, vector *pos, int *room) {
319 if (AIPathMoveToNextNode(aip)) {
320 AIPathGetCurrentNodePos(aip, pos, room);
321 AIPathMoveToPrevNode(aip);
322
323 return true;
324 }
325
326 return false;
327}
328
329bool AIPathGetPrevNodePos(ai_path_info *aip, vector *pos, int *room) {
330 if (AIPathMoveToPrevNode(aip)) {

Callers 2

AIDoOrientFunction · 0.85

Calls 3

AIPathMoveToNextNodeFunction · 0.85
AIPathGetCurrentNodePosFunction · 0.85
AIPathMoveToPrevNodeFunction · 0.85

Tested by

no test coverage detected