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

Function MovePathNode

editor/EPath.cpp:116–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116int MovePathNode(int pathnum, int nodenum, vector *delta_pos) {
117 vector attempted_pos = GamePaths[pathnum].pathnodes[nodenum].pos + *delta_pos;
118
119 return MovePathNodeToPos(pathnum, nodenum, &attempted_pos);
120}
121
122int MovePathNodeToPos(int pathnum, int nodenum, vector *attempted_pos) {
123 fvi_query fq;

Callers 6

OnPathpadMoveForwardMethod · 0.85
OnPathpadMoveBackwardMethod · 0.85
OnPathpadMoveLeftMethod · 0.85
OnPathpadMoveRightMethod · 0.85
OnPathpadMoveDownMethod · 0.85
OnPathpadMoveUpMethod · 0.85

Calls 1

MovePathNodeToPosFunction · 0.85

Tested by

no test coverage detected