Nuclide
Software Development Kit for id Technology
node_edit.h
1/*
2 * Copyright (c) 2024 Vera Visions LLC.
3 *
4 * Permission to use, copy, modify, and distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
13 * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
14 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 */
16
27int NodeEdit_FindClosestNode(vector);
29bool NodeEdit_SaveFile(string);
31bool NodeEdit_ReadFile(string, bool);
33void NodeEdit_Flush(void);
34
35void NodeEdit_Cmd(void);
36void NodeEdit_DrawDebugInfo(void);
37 // end of nav
void NodeEdit_Flush(void)
Flushes the nodegraph being passed.
Definition: node_edit.qc:360
void NodeEdit_LinkNodes(node_t *, node_t *)
Links node wp towards w2.
Definition: node_edit.qc:22
void NodeEdit_DrawDebugInfo(void)
Definition: node_edit.qc:478
void NodeEdit_Cmd(void)
Definition: node_edit.qc:614
bool NodeEdit_SaveFile(string)
Saves the specified nodegraph to disk with the specified filename.
Definition: node_edit.qc:329
void NodeEdit_UnlinkNodes(node_t *, node_t *)
Unlinks node wp from going towards w2.
Definition: node_edit.qc:42
int NodeEdit_FindClosestNode(vector)
Returns the id of the closest node in a node graph.
Definition: node_edit.qc:108
bool NodeEdit_ReadFile(string, bool)
Loads the nodegraph from the specified filename off disk.
Definition: node_edit.qc:371
Data holding Node entries.
Definition: nodes.h:26