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
+3 -3
View File
@@ -1,4 +1,4 @@
//========= Copyright Valve Corporation, All rights reserved. ============//
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose: Volumetric dust motes.
//
@@ -83,7 +83,7 @@ public:
};
IMPLEMENT_SERVERCLASS_ST_NOBASE( CFunc_Dust, DT_Func_Dust )
SendPropInt( SENDINFO(m_Color), 32, SPROP_UNSIGNED ),
SendPropInt( SENDINFO(m_Color), 32, SPROP_UNSIGNED, SendProxy_Color32ToInt32 ),
SendPropInt( SENDINFO(m_SpawnRate), 12, SPROP_UNSIGNED ),
SendPropInt( SENDINFO(m_SpeedMax), 12, SPROP_UNSIGNED ),
SendPropFloat( SENDINFO(m_flSizeMin), 0, SPROP_NOSCALE ),
@@ -162,7 +162,7 @@ void CFunc_Dust::Spawn()
//Since keyvalues can arrive in any order, and UTIL_StringToColor32 stomps alpha,
//install the alpha value here.
color32 clr = { m_Color.m_Value.r, m_Color.m_Value.g, m_Color.m_Value.b, (uint8)m_iAlpha };
color32 clr = { m_Color.m_Value.r, m_Color.m_Value.g, m_Color.m_Value.b, m_iAlpha };
m_Color.Set( clr );
BaseClass::Spawn();