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:
//
@@ -23,6 +23,9 @@ class CAI_TrackPather : public CAI_BaseNPC
{
DECLARE_CLASS( CAI_TrackPather, CAI_BaseNPC );
DECLARE_DATADESC();
friend class CNPC_CombineAdvisorRoaming;
public:
bool IsOnPathTrack() { return (m_pCurrentPathTarget != NULL); }
@@ -134,6 +137,7 @@ protected:
// Sets up a new current path target
void SetupNewCurrentTarget( CPathTrack *pTrack );
virtual void OnNewCurrentTarget( CPathTrack *pTrackNew, CPathTrack *pTrackOld ) {}
// Compute the distance to the leading position
float ComputeDistanceToLeadingPosition();
@@ -150,6 +154,8 @@ protected:
// FIXME: Work this back into the base class
virtual bool ShouldUseFixedPatrolLogic() { return false; }
virtual bool ShouldUseAvoidanceWhenTracking() { return false; }
// Deal with teleportation
void Teleported();