mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-29 13:39:19 +00:00
upload "kind" alien swarm
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
//========= Copyright © 1996-2007, Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose: A single behavior that handles running all of the NPC's add ons
|
||||
//
|
||||
//=====================================================================================//
|
||||
/*
|
||||
#include "cbase.h"
|
||||
#include "ai_behavior_addonhost.h"
|
||||
#include "ai_addon.h"
|
||||
#include "saverestore_utlvector.h"
|
||||
|
||||
BEGIN_DATADESC(CAI_AddOnHostBehavior)
|
||||
DEFINE_UTLVECTOR(m_AddOns, FIELD_EHANDLE),
|
||||
END_DATADESC()
|
||||
|
||||
//---------------------------------------------------------
|
||||
//---------------------------------------------------------
|
||||
CAI_AddOnHostBehavior::CAI_AddOnHostBehavior()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
//---------------------------------------------------------
|
||||
//---------------------------------------------------------
|
||||
void CAI_AddOnHostBehavior::GatherConditions()
|
||||
{
|
||||
BaseClass::GatherConditions();
|
||||
GatherConditionsCentral();
|
||||
}
|
||||
|
||||
//---------------------------------------------------------
|
||||
//---------------------------------------------------------
|
||||
void CAI_AddOnHostBehavior::GatherConditionsNotActive()
|
||||
{
|
||||
BaseClass::GatherConditionsNotActive();
|
||||
GatherConditionsCentral();
|
||||
}
|
||||
|
||||
//---------------------------------------------------------
|
||||
//---------------------------------------------------------
|
||||
void CAI_AddOnHostBehavior::GatherConditionsCentral()
|
||||
{
|
||||
// blah blah
|
||||
}
|
||||
|
||||
//---------------------------------------------------------
|
||||
//---------------------------------------------------------
|
||||
void CAI_AddOnHostBehavior::RegisterAddOn( CAI_AddOn *pAddOn )
|
||||
{
|
||||
Assert( pAddOn != NULL );
|
||||
Assert( m_AddOns.Find(pAddOn) == -1 );
|
||||
m_AddOns.AddToTail( pAddOn );
|
||||
}
|
||||
*/
|
||||
Reference in New Issue
Block a user