upload "kind" alien swarm

This commit is contained in:
nillerusr
2023-10-03 17:23:56 +03:00
parent b7bd94c52e
commit 7d3c0d8b5a
4229 changed files with 462900 additions and 495155 deletions
+13 -1
View File
@@ -1,4 +1,4 @@
//========= Copyright Valve Corporation, All rights reserved. ============//
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose: Frequently used global functions.
//
@@ -152,6 +152,10 @@ BEGIN_DATADESC( CBaseToggle )
END_DATADESC()
IMPLEMENT_SERVERCLASS_ST(CBaseToggle, DT_BaseToggle)
END_SEND_TABLE()
CBaseToggle::CBaseToggle()
{
#ifdef _DEBUG
@@ -165,6 +169,14 @@ CBaseToggle::CBaseToggle()
#endif
}
//-----------------------------------------------------------------------------
// Purpose: Returns the velocity imparted to players standing on us.
//-----------------------------------------------------------------------------
void CBaseToggle::GetGroundVelocityToApply( Vector &vecGroundVel )
{
vecGroundVel = GetLocalVelocity();
}
bool CBaseToggle::KeyValue( const char *szKeyName, const char *szValue )
{
if (FStrEq(szKeyName, "lip"))