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

Method OnAerButton

editor/PathPadDialog.cpp:941–952  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

939}
940
941void CPathPadDialog::OnAerButton() {
942 bn_list *bnlist = BNode_GetBNListPtr(BNode_current_room);
943 if (!bnlist)
944 return;
945
946 for (int i = 0; i < bnlist->num_nodes; i++) {
947 EBNode_AutoEdgeNode(i, BNode_current_room);
948 }
949
950 EBNode_VerifyGraph();
951 World_changed = 1;
952}
953
954void CPathPadDialog::OnOntvgpButton() {
955 if (Num_game_paths < 1) {

Callers

nothing calls this directly

Calls 3

BNode_GetBNListPtrFunction · 0.85
EBNode_AutoEdgeNodeFunction · 0.85
EBNode_VerifyGraphFunction · 0.85

Tested by

no test coverage detected