jedi-academy/code/game/g_nav.h

31 lines
848 B
C
Raw Normal View History

2013-04-04 22:35:38 +00:00
#ifndef __G_NAV_H__
#define __G_NAV_H__
#define WAYPOINT_NONE 0
#define MAX_RADIUS_CHECK 1024
#define YAW_ITERATIONS 16
extern bool navCalculatePaths;
extern bool NAVDEBUG_showNodes;
extern bool NAVDEBUG_showRadius;
extern bool NAVDEBUG_showEdges;
extern bool NAVDEBUG_showTestPath;
extern bool NAVDEBUG_showEnemyPath;
extern bool NAVDEBUG_showCombatPoints;
extern bool NAVDEBUG_showNavGoals;
extern bool NAVDEBUG_showCollision;
extern bool NAVDEBUG_showGrid;
extern bool NAVDEBUG_showNearest;
extern int NAVDEBUG_curGoal;
extern bool NAVDEBUG_showPointLines;
void CG_DrawNode( vec3_t origin, int type );
void CG_DrawEdge( vec3_t start, vec3_t end, int type );
void CG_DrawRadius( vec3_t origin, unsigned int radius, int type );
void CG_DrawCombatPoint( vec3_t origin, int type );
#endif //#ifndef __G_NAV_H__