mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-09-01 06:59:20 +00:00
upload "kind" alien swarm
This commit is contained in:
+10
-5
@@ -1,4 +1,4 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
@@ -19,7 +19,8 @@
|
||||
|
||||
struct flexsettinghdr_t;
|
||||
struct flexsetting_t;
|
||||
class AI_Response;
|
||||
namespace ResponseRules {class CRR_Response;};
|
||||
typedef ResponseRules::CRR_Response AI_Response;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: A .vfe referenced by a scene during .vcd playback
|
||||
@@ -46,6 +47,8 @@ public:
|
||||
DECLARE_SERVERCLASS();
|
||||
DECLARE_DATADESC();
|
||||
DECLARE_PREDICTABLE();
|
||||
// script description
|
||||
DECLARE_ENT_SCRIPTDESC();
|
||||
|
||||
// Construction
|
||||
CBaseFlex( void );
|
||||
@@ -91,7 +94,7 @@ public:
|
||||
virtual bool ClearSceneEvent( CSceneEventInfo *info, bool fastKill, bool canceled );
|
||||
|
||||
// Add the event to the queue for this actor
|
||||
void AddSceneEvent( CChoreoScene *scene, CChoreoEvent *event, CBaseEntity *pTarget = NULL );
|
||||
void AddSceneEvent( CChoreoScene *scene, CChoreoEvent *event, CBaseEntity *pTarget = NULL, CSceneEntity* pSceneEntity = NULL );
|
||||
|
||||
// Remove the event from the queue for this actor
|
||||
void RemoveSceneEvent( CChoreoScene *scene, CChoreoEvent *event, bool fastKill );
|
||||
@@ -116,9 +119,11 @@ public:
|
||||
void SentenceStop( void ) { EmitSound( "AI_BaseNPC.SentenceStop" ); }
|
||||
|
||||
virtual float PlayScene( const char *pszScene, float flDelay = 0.0f, AI_Response *response = NULL, IRecipientFilter *filter = NULL );
|
||||
virtual float ScriptPlayScene( const char *pszScene, float flDelay = 0.0f );
|
||||
virtual float PlayAutoGeneratedSoundScene( const char *soundname );
|
||||
|
||||
virtual int GetSpecialDSP( void ) { return 0; }
|
||||
// Returns the script instance of the scene entity associated with our oldest ("top level") scene event
|
||||
virtual HSCRIPT ScriptGetOldestScene( void );
|
||||
virtual HSCRIPT ScriptGetSceneByIndex( int index );
|
||||
|
||||
protected:
|
||||
// For handling .vfe files
|
||||
|
||||
Reference in New Issue
Block a user