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.
59 lines
1.8 KiB
59 lines
1.8 KiB
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
//=============================================================================//
|
|
#include "cbase.h"
|
|
#include "fx.h"
|
|
#include "c_te_effect_dispatch.h"
|
|
#include "c_te_legacytempents.h"
|
|
|
|
// memdbgon must be the last include file in a .cpp file!!!
|
|
#include "tier0/memdbgon.h"
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Purpose:
|
|
//-----------------------------------------------------------------------------
|
|
void ShellEjectCallback( const CEffectData &data )
|
|
{
|
|
// Use the gun angles to orient the shell
|
|
IClientRenderable *pRenderable = data.GetRenderable();
|
|
if ( pRenderable )
|
|
{
|
|
DevWarning( "Unhandled ShellEject effect\n" );
|
|
}
|
|
}
|
|
|
|
DECLARE_CLIENT_EFFECT( ShellEject, ShellEjectCallback );
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Purpose:
|
|
//-----------------------------------------------------------------------------
|
|
void RifleShellEjectCallback( const CEffectData &data )
|
|
{
|
|
// Use the gun angles to orient the shell
|
|
IClientRenderable *pRenderable = data.GetRenderable();
|
|
if ( pRenderable )
|
|
{
|
|
DevWarning( "Unhandled RifleShellEject effect\n" );
|
|
}
|
|
}
|
|
|
|
DECLARE_CLIENT_EFFECT( RifleShellEject, RifleShellEjectCallback );
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Purpose:
|
|
//-----------------------------------------------------------------------------
|
|
void ShotgunShellEjectCallback( const CEffectData &data )
|
|
{
|
|
// Use the gun angles to orient the shell
|
|
IClientRenderable *pRenderable = data.GetRenderable();
|
|
if ( pRenderable )
|
|
{
|
|
DevWarning( "Unhandled ShotgunShellEject effect\n" );
|
|
}
|
|
}
|
|
|
|
DECLARE_CLIENT_EFFECT( ShotgunShellEject, ShotgunShellEjectCallback );
|
|
|
|
|