Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
963 B

5 years ago
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Play VCD on taunt prop
//
// $NoKeywords: $
//=============================================================================//
#ifndef TF_TAUNT_PROP_H
#define TF_TAUNT_PROP_H
#ifdef _WIN32
#pragma once
#endif
class CTFTauntProp : public CBaseCombatCharacter
{
DECLARE_CLASS( CTFTauntProp, CBaseCombatCharacter );
public:
DECLARE_SERVERCLASS();
CTFTauntProp();
virtual bool StartSceneEvent( CSceneEventInfo *info, CChoreoScene *scene, CChoreoEvent *event, CChoreoActor *actor, CBaseEntity *pTarget ) OVERRIDE;
virtual bool ProcessSceneEvent( CSceneEventInfo *info, CChoreoScene *scene, CChoreoEvent *event ) OVERRIDE;
virtual float PlayScene( const char *pszScene, float flDelay = 0.0f, AI_Response *response = NULL, IRecipientFilter *filter = NULL ) OVERRIDE;
virtual void UpdateOnRemove() OVERRIDE;
private:
EHANDLE m_hScene;
};
#endif // TF_TAUNT_PROP_H