upload "kind" alien swarm

This commit is contained in:
nillerusr
2023-10-03 17:23:56 +03:00
parent b7bd94c52e
commit 7d3c0d8b5a
4229 changed files with 462900 additions and 495155 deletions
+7 -1
View File
@@ -1,4 +1,4 @@
//========= Copyright Valve Corporation, All rights reserved. ============//
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
@@ -18,6 +18,7 @@
class CAI_PlaneSolver;
class CAI_MoveProbe;
FORWARD_DECLARE_HANDLE( Obstacle_t );
//-----------------------------------------------------------------------------
// CAI_LocalNavigator
@@ -45,6 +46,11 @@ public:
void AddObstacle( const Vector &pos, float radius, AI_MoveSuggType_t type = AIMST_AVOID_OBJECT );
bool HaveObstacles();
static Obstacle_t AddGlobalObstacle( const Vector &pos, float radius, AI_MoveSuggType_t type = AIMST_AVOID_OBJECT );
static void RemoveGlobalObstacle( Obstacle_t hObstacle );
static void RemoveGlobalObstacles( void );
static bool IsSegmentBlockedByGlobalObstacles( const Vector &vecStart, const Vector &vecEnd );
protected:
AIMoveResult_t MoveCalcRaw( AILocalMoveGoal_t *pResult, bool bOnlyCurThink );