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

Method OnPathpadMoveRight

editor/PathPadDialog.cpp:278–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278void CPathPadDialog::OnPathpadMoveRight() {
279 if (Num_game_paths < 1) {
280 MessageBox("There are no paths to operate on.");
281 return;
282 }
283
284 int p = D3EditState.current_path;
285 int n = D3EditState.current_node;
286
287 vector delta_movement = Viewer_object->orient.rvec * D3EditState.node_movement_inc;
288
289 MovePathNode(p, n, &delta_movement);
290
291 World_changed = 1;
292 UpdateDialog();
293}
294
295void CPathPadDialog::OnSelendokPathpadPulldown() {
296 int i, cur;

Callers

nothing calls this directly

Calls 1

MovePathNodeFunction · 0.85

Tested by

no test coverage detected