mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-09-01 15:09:19 +00:00
upload "kind" alien swarm
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user