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.

23 lines
651 B

  1. //========= Copyright � Valve Corporation, All rights reserved. ============//
  2. #ifndef PHYSICS_SOFTBODY_HDR
  3. #define PHYSICS_SOFTBODY_HDR
  4. #include "mathlib/softbodyenvironment.h"
  5. #ifndef CLIENT_DLL
  6. #error Softbodies should only be used on client
  7. #endif
  8. extern CSoftbodyEnvironment g_SoftbodyEnvironment; // in physics_softbody.cpp
  9. extern ConVar softbody_debug; // in studio.cpp
  10. class CSoftbodyProcess : public CAutoGameSystemPerFrame
  11. {
  12. public:
  13. CSoftbodyProcess() : CAutoGameSystemPerFrame( "SoftbodyProcess" ) {}
  14. virtual void OnRestore() OVERRIDE;
  15. virtual void Update( float frametime ) OVERRIDE;
  16. virtual void PostRender() OVERRIDE;
  17. };
  18. #endif