g_nav.h 848 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef __G_NAV_H__
  2. #define __G_NAV_H__
  3. #define WAYPOINT_NONE 0
  4. #define MAX_RADIUS_CHECK 1024
  5. #define YAW_ITERATIONS 16
  6. extern bool navCalculatePaths;
  7. extern bool NAVDEBUG_showNodes;
  8. extern bool NAVDEBUG_showRadius;
  9. extern bool NAVDEBUG_showEdges;
  10. extern bool NAVDEBUG_showTestPath;
  11. extern bool NAVDEBUG_showEnemyPath;
  12. extern bool NAVDEBUG_showCombatPoints;
  13. extern bool NAVDEBUG_showNavGoals;
  14. extern bool NAVDEBUG_showCollision;
  15. extern bool NAVDEBUG_showGrid;
  16. extern bool NAVDEBUG_showNearest;
  17. extern int NAVDEBUG_curGoal;
  18. extern bool NAVDEBUG_showPointLines;
  19. void CG_DrawNode( vec3_t origin, int type );
  20. void CG_DrawEdge( vec3_t start, vec3_t end, int type );
  21. void CG_DrawRadius( vec3_t origin, unsigned int radius, int type );
  22. void CG_DrawCombatPoint( vec3_t origin, int type );
  23. #endif //#ifndef __G_NAV_H__