Full navigation map with meshes and tiles.
More...
#include <navigation_recast_load.h>
|
void | LoadWorldMap (const char *mapname) |
| Generate the navigation system from the specified BSP map file.
|
|
void | CleanUp (qboolean samemap) |
| Do some cleanups.
|
|
void | ClearNavigation () |
| Clear and free memory allocated for the navigation system.
|
|
bool | IsValid () const |
| Whether or not the navigation system is valid.
|
|
dtNavMesh * | GetNavMesh () const |
| Get the navigation mesh.
|
|
dtNavMeshQuery * | GetNavMeshQuery () const |
| Get navigation query object.
|
|
const navMap_t & | GetNavigationData () const |
| Return the navigation data loaded from the BSP.
|
|
void | Update () |
| Update the navigation map.
|
|
|
float * | offMeshConVerts |
|
float * | offMeshConRad |
|
unsigned short * | offMeshConFlags |
|
unsigned char * | offMeshConAreas |
|
unsigned char * | offMeshConDir |
|
unsigned int * | offMeshConUserID |
|
int | offMeshConCount |
|
str | currentMap |
|
bool | validNavigation |
|
Full navigation map with meshes and tiles.
◆ CleanUp()
void NavigationMap::CleanUp |
( |
qboolean | samemap | ) |
|
Do some cleanups.
- Parameters
-
samemap | Whether or not it's the same map |
◆ GetNavigationData()
const navMap_t & NavigationMap::GetNavigationData |
( |
| ) |
const |
Return the navigation data loaded from the BSP.
- Returns
- Const navigation data
◆ GetNavMesh()
dtNavMesh * NavigationMap::GetNavMesh |
( |
| ) |
const |
Get the navigation mesh.
- Returns
- dtNavMesh* The navigation mesh.
◆ GetNavMeshQuery()
dtNavMeshQuery * NavigationMap::GetNavMeshQuery |
( |
| ) |
const |
Get navigation query object.
- Returns
- dtNavMeshQuery* The navigation query object.
◆ IsValid()
bool NavigationMap::IsValid |
( |
| ) |
const |
Whether or not the navigation system is valid.
- Returns
- true if there is a valid navigation generated.
◆ LoadWorldMap()
void NavigationMap::LoadWorldMap |
( |
const char * | mapname | ) |
|
Generate the navigation system from the specified BSP map file.
- Parameters
-
mapname | The .bsp map file. |
The documentation for this class was generated from the following files: