Initial commit.

This commit is contained in:
Jim Gray
2013-04-04 14:32:05 -07:00
parent ba5c81da32
commit d71d53e8ec
2180 changed files with 1393544 additions and 1 deletions

30
code/game/g_nav.h Normal file
View File

@@ -0,0 +1,30 @@
#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__