Crate sourcenav

Source

Structs§

ApproachArea
An area that can be used for approach, no longer used in newer nav files
Connections
The connections from a navigation area into it’s neighbours
EncounterPath
A path that can be used to approach an area
LadderConnections
The connections from a navigation area into it’s neighbours
LightIntensity
The light intensity at the four corners of an area
NavArea
A navigation area from the nav file
NavHidingSpot
A hiding spot within an area
NavQuad
A navigation area from the nav file
NavQuadTree
A tree of all navigation areas
Vector3
A 3 dimensional coordinate
VisibleArea
An area that is visible

Enums§

LadderDirection
The directions in which two areas can be connected by ladder
NavDirection
The directions in which two areas can be connected
ParseError
Errors that can occur when parsing the binary nav file

Functions§

get_quad_tree
Parse all navigation quads from a nav file
read_areas
Parse all navigation areas from a nav file