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.

38 lines
930 B

  1. //========= Copyright c 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef GAME_SERVER_PROP_PHYSICS2_H
  8. #define GAME_SERVER_PROP_PHYSICS2_H
  9. #include "props_shared.h"
  10. #include "networkvar.h"
  11. #include "props.h"
  12. class CPhysics2Prop : public CBaseProp
  13. {
  14. DECLARE_CLASS( CPhysics2Prop, CBaseEntity );
  15. DECLARE_DATADESC();
  16. //DECLARE_SERVERCLASS();
  17. public:
  18. ~CPhysics2Prop ();
  19. void Spawn( void );
  20. void Precache( void );
  21. //CNetworkVar( bool, m_bAwake );
  22. void VPhysicsUpdate( IPhysicsObject *pPhysics );
  23. public:
  24. class CPhysics2Shape *m_pShape;
  25. class CPhysics2Actor *m_pActor;
  26. //class CPhysics2Inertia *m_pInertia;
  27. class IPhysics2CookedInertia *m_pCookedInertia;
  28. class CPhysics2Inertia *m_pInertia;
  29. //class CPhysics2Actor *m_pBoxActor;
  30. //class CPhysics2Box *m_pBoxShape;
  31. };
  32. #endif