mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-13 20:21:06 +00:00
add hl1,portal,dod source code
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
//=============================================================================//
|
||||
|
||||
|
||||
#include "cbase.h"
|
||||
#include "fx.h"
|
||||
#include "c_te_effect_dispatch.h"
|
||||
#include "c_te_legacytempents.h"
|
||||
|
||||
|
||||
void HL1ShellEjectCallback( const CEffectData &data )
|
||||
{
|
||||
int iType = data.m_fFlags; // 0 = shell, 1 = shotgun shell
|
||||
|
||||
tempents->HL1EjectBrass( data.m_vOrigin, data.m_vAngles, data.m_vStart, iType );
|
||||
}
|
||||
|
||||
DECLARE_CLIENT_EFFECT( "HL1ShellEject", HL1ShellEjectCallback );
|
||||
Reference in New Issue
Block a user