mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2026-08-03 20:24:36 +02:00
Network m_flGravity on entities
This commit is contained in:
@@ -457,6 +457,7 @@ BEGIN_RECV_TABLE_NOBASE(C_BaseEntity, DT_BaseEntity)
|
|||||||
RecvPropInt(RECVINFO(m_clrRender)),
|
RecvPropInt(RECVINFO(m_clrRender)),
|
||||||
RecvPropInt(RECVINFO(m_iTeamNum)),
|
RecvPropInt(RECVINFO(m_iTeamNum)),
|
||||||
RecvPropInt(RECVINFO(m_CollisionGroup)),
|
RecvPropInt(RECVINFO(m_CollisionGroup)),
|
||||||
|
RecvPropFloat(RECVINFO(m_flGravity)),
|
||||||
RecvPropFloat(RECVINFO(m_flElasticity)),
|
RecvPropFloat(RECVINFO(m_flElasticity)),
|
||||||
RecvPropFloat(RECVINFO(m_flShadowCastDistance)),
|
RecvPropFloat(RECVINFO(m_flShadowCastDistance)),
|
||||||
RecvPropEHandle( RECVINFO(m_hOwnerEntity) ),
|
RecvPropEHandle( RECVINFO(m_hOwnerEntity) ),
|
||||||
|
|||||||
@@ -279,6 +279,7 @@ IMPLEMENT_SERVERCLASS_ST_NOBASE( CBaseEntity, DT_BaseEntity )
|
|||||||
SendPropInt (SENDINFO(m_clrRender), 32, SPROP_UNSIGNED),
|
SendPropInt (SENDINFO(m_clrRender), 32, SPROP_UNSIGNED),
|
||||||
SendPropInt (SENDINFO(m_iTeamNum), TEAMNUM_NUM_BITS, 0),
|
SendPropInt (SENDINFO(m_iTeamNum), TEAMNUM_NUM_BITS, 0),
|
||||||
SendPropInt (SENDINFO(m_CollisionGroup), 5, SPROP_UNSIGNED),
|
SendPropInt (SENDINFO(m_CollisionGroup), 5, SPROP_UNSIGNED),
|
||||||
|
SendPropFloat (SENDINFO(m_flGravity)),
|
||||||
SendPropFloat (SENDINFO(m_flElasticity), 0, SPROP_COORD),
|
SendPropFloat (SENDINFO(m_flElasticity), 0, SPROP_COORD),
|
||||||
SendPropFloat (SENDINFO(m_flShadowCastDistance), 12, SPROP_UNSIGNED ),
|
SendPropFloat (SENDINFO(m_flShadowCastDistance), 12, SPROP_UNSIGNED ),
|
||||||
SendPropEHandle (SENDINFO(m_hOwnerEntity)),
|
SendPropEHandle (SENDINFO(m_hOwnerEntity)),
|
||||||
|
|||||||
@@ -1875,7 +1875,7 @@ private:
|
|||||||
EHANDLE m_pBlocker;
|
EHANDLE m_pBlocker;
|
||||||
|
|
||||||
// was pev->gravity;
|
// was pev->gravity;
|
||||||
float m_flGravity; // rename to m_flGravityScale;
|
CNetworkVar( float, m_flGravity ); // rename to m_flGravityScale;
|
||||||
// was pev->friction
|
// was pev->friction
|
||||||
CNetworkVarForDerived( float, m_flFriction );
|
CNetworkVarForDerived( float, m_flFriction );
|
||||||
CNetworkVar( float, m_flElasticity );
|
CNetworkVar( float, m_flElasticity );
|
||||||
|
|||||||
Reference in New Issue
Block a user