Counter Strike : Global Offensive Source Code
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.

43 lines
1.4 KiB

  1. //===== Copyright � 1996-2005, Valve Corporation, All rights reserved. ======//
  2. //
  3. // Purpose:
  4. //
  5. //===========================================================================//
  6. #include "cbase.h"
  7. #include <keyvalues.h>
  8. // memdbgon must be the last include file in a .cpp file!!!
  9. #include "tier0/memdbgon.h"
  10. //-----------------------------------------------------------------------------
  11. // Purpose:
  12. //-----------------------------------------------------------------------------
  13. class C_FuncRotating : public C_BaseEntity
  14. {
  15. public:
  16. DECLARE_CLASS( C_FuncRotating, C_BaseEntity );
  17. DECLARE_CLIENTCLASS();
  18. C_FuncRotating();
  19. private:
  20. };
  21. extern void RecvProxy_SimulationTime( const CRecvProxyData *pData, void *pStruct, void *pOut );
  22. IMPLEMENT_CLIENTCLASS_DT( C_FuncRotating, DT_FuncRotating, CFuncRotating )
  23. RecvPropVector( RECVINFO_NAME( m_vecNetworkOrigin, m_vecOrigin ) ),
  24. RecvPropFloat( RECVINFO_NAME( m_angNetworkAngles[0], m_angRotation[0] ) ),
  25. RecvPropFloat( RECVINFO_NAME( m_angNetworkAngles[1], m_angRotation[1] ) ),
  26. RecvPropFloat( RECVINFO_NAME( m_angNetworkAngles[2], m_angRotation[2] ) ),
  27. RecvPropInt( RECVINFO(m_flSimulationTime), 0, RecvProxy_SimulationTime ),
  28. END_RECV_TABLE()
  29. //-----------------------------------------------------------------------------
  30. // Purpose:
  31. //-----------------------------------------------------------------------------
  32. C_FuncRotating::C_FuncRotating()
  33. {
  34. }