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:
|
||||
//
|
||||
@@ -20,8 +20,16 @@
|
||||
|
||||
enum RallySelectMethod_t
|
||||
{
|
||||
RALLY_POINT_SELECT_DEFAULT = 0,
|
||||
RALLY_POINT_SELECT_CLOSEST = 0,
|
||||
RALLY_POINT_SELECT_RANDOM,
|
||||
RALLY_POINT_SELECT_FURTHEST
|
||||
};
|
||||
|
||||
enum BranchingMethod_t
|
||||
{
|
||||
BRANCH_RANDOM,
|
||||
BRANCH_CLOSEST,
|
||||
BRANCH_FURTHEST
|
||||
};
|
||||
|
||||
enum AssaultCue_t
|
||||
@@ -50,6 +58,28 @@ enum
|
||||
|
||||
#define SF_ASSAULTPOINT_CLEARONARRIVAL 0x00000001
|
||||
|
||||
//=============================================================================
|
||||
//=============================================================================
|
||||
class CAI_AssaultGoal : public CAI_GoalEntity
|
||||
{
|
||||
typedef CAI_GoalEntity BaseClass;
|
||||
|
||||
virtual void EnableGoal( CAI_BaseNPC *pAI );
|
||||
virtual void DisableGoal( CAI_BaseNPC *pAI );
|
||||
|
||||
string_t m_RallyPoint;
|
||||
int m_AssaultCue;
|
||||
int m_RallySelectMethod;
|
||||
int m_BranchMethod;
|
||||
|
||||
void InputBeginAssault( inputdata_t &inputdata );
|
||||
|
||||
DECLARE_DATADESC();
|
||||
|
||||
friend class CAI_AssaultBehavior;
|
||||
};
|
||||
|
||||
|
||||
//=============================================================================
|
||||
//=============================================================================
|
||||
class CRallyPoint : public CPointEntity
|
||||
@@ -91,6 +121,7 @@ public:
|
||||
}
|
||||
|
||||
bool IsLocked( void ) { return (m_hLockedBy.Get() != NULL); }
|
||||
bool ShouldBeLocked( void ) { return m_bShouldLock; }
|
||||
|
||||
int DrawDebugTextOverlays();
|
||||
bool IsExclusive();
|
||||
@@ -110,6 +141,7 @@ public:
|
||||
bool m_bForceCrouch;
|
||||
bool m_bIsUrgent;
|
||||
short m_sExclusivity;
|
||||
bool m_bShouldLock;
|
||||
|
||||
COutputEvent m_OnArrival;
|
||||
|
||||
@@ -184,6 +216,8 @@ public:
|
||||
|
||||
virtual void OnRestore();
|
||||
|
||||
void SetGoal( CAI_AssaultGoal *pGoal ) { m_hGoal = pGoal; }
|
||||
|
||||
bool CanRunAScriptedNPCInteraction( bool bForced );
|
||||
|
||||
virtual bool CanSelectSchedule();
|
||||
@@ -291,6 +325,8 @@ private:
|
||||
|
||||
string_t m_AssaultPointName;
|
||||
|
||||
CHandle<CAI_AssaultGoal> m_hGoal;
|
||||
|
||||
//---------------------------------
|
||||
|
||||
DECLARE_DATADESC();
|
||||
|
||||
Reference in New Issue
Block a user