Nuclide
Software Development Kit for id Tech
Navigation System

APIs to interact with the navigation system powering AI entities. More...

void NodeEdit_LinkNodes (node_t *, node_t *)
 Links node wp towards w2. More...
 
void NodeEdit_UnlinkNodes (node_t *, node_t *)
 Unlinks node wp from going towards w2. More...
 
int NodeEdit_FindClosestNode (vector)
 Returns the id of the closest node in a node graph. More...
 
bool NodeEdit_SaveFile (string)
 Saves the specified nodegraph to disk with the specified filename. More...
 
bool NodeEdit_ReadFile (string, bool)
 Loads the nodegraph from the specified filename off disk. More...
 
void NodeEdit_Flush (void)
 Flushes the nodegraph being passed. More...
 
void NodeEdit_Cmd (void)
 
void NodeEdit_DrawDebugInfo (void)
 
void Nodes_Flush (void)
 
void Nodes_Init (void)
 
bool Nodes_Available (void)
 
int Route_RoundDistance (float)
 
int Route_GetNodeFlags (nodeslist_t *)
 
vector Route_GetJumpVelocity (vector, vector, float)
 
vector Nodes_PositionOfClosestNode (vector)
 
NSEntity Route_SelectRandom (string)
 
bool Way_ReadFBFile (string, bool)
 
bool Way_ReadJumbotFile (string, bool)
 
bool Way_ReadPBFile (string, bool)
 

Detailed Description

APIs to interact with the navigation system powering AI entities.

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_LinkNodes()

void NodeEdit_LinkNodes ( node_t wp,
node_t w2 
)

Links node wp towards w2.

◆ 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.

◆ Nodes_Available()

bool Nodes_Available ( void  )

◆ Nodes_Flush()

void Nodes_Flush ( void  )

◆ Nodes_Init()

void Nodes_Init ( void  )

◆ Nodes_PositionOfClosestNode()

vector Nodes_PositionOfClosestNode ( vector  pointOrigin)

◆ Route_GetJumpVelocity()

vector Route_GetJumpVelocity ( vector  vecFrom,
vector  vecTo,
float  flGravMod 
)

◆ Route_GetNodeFlags()

int Route_GetNodeFlags ( nodeslist_t *  node)

◆ Route_RoundDistance()

int Route_RoundDistance ( float  flDist)

◆ Route_SelectRandom()

NSEntity Route_SelectRandom ( string  sEntname)

◆ Way_ReadFBFile()

bool Way_ReadFBFile ( string  strFile,
bool  flush 
)

◆ Way_ReadJumbotFile()

bool Way_ReadJumbotFile ( string  strFile,
bool  flush 
)

◆ Way_ReadPBFile()

bool Way_ReadPBFile ( string  strFile,
bool  flush 
)