Nuclide
Software Development Kit for id Tech
node_edit.qc File Reference

Functions

void NodeEdit_LinkNodes (node_t *wp, node_t *w2)
 Links node wp towards w2. More...
 
void NodeEdit_UnlinkNodes (node_t *wp, node_t *w2)
 Unlinks node wp from going towards w2. More...
 
int NodeEdit_FindClosestNode (vector vecOrigin)
 Returns the id of the closest node in a node graph. More...
 
bool NodeEdit_SaveFile (string filename)
 Saves the specified nodegraph to disk with the specified filename. More...
 
void NodeEdit_Flush (void)
 Flushes the nodegraph being passed. More...
 
bool NodeEdit_ReadFile (string strFile, bool flush)
 Loads the nodegraph from the specified filename off disk. More...
 
void NodeEdit_DrawDebugInfo (void)
 
void NodeEdit_Cmd (void)
 

Variables

var int g_way1 = -1
 
var int g_way2 = -1
 

Function Documentation

◆ NodeEdit_Cmd()

void NodeEdit_Cmd ( void  )

◆ NodeEdit_DrawDebugInfo()

void NodeEdit_DrawDebugInfo ( void  )

◆ NodeEdit_FindClosestNode()

int NodeEdit_FindClosestNode ( vector  vecOrigin)

Returns the id of the closest node in a node graph.

◆ NodeEdit_Flush()

void NodeEdit_Flush ( void  )

Flushes the nodegraph being passed.

◆ NodeEdit_ReadFile()

bool NodeEdit_ReadFile ( string  strFile,
bool  flush 
)

Loads the nodegraph from the specified filename off disk.

◆ NodeEdit_SaveFile()

bool NodeEdit_SaveFile ( string  filename)

Saves the specified nodegraph to disk with the specified filename.

◆ NodeEdit_UnlinkNodes()

void NodeEdit_UnlinkNodes ( node_t wp,
node_t w2 
)

Unlinks node wp from going towards w2.

Variable Documentation

◆ g_way1

var int g_way1 = -1

◆ g_way2

var int g_way2 = -1