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.

33 lines
888 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: insulates client DLL from dependencies on vphysics
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef PHYSICS_H
  8. #define PHYSICS_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "interface.h"
  13. #include "physics_shared.h"
  14. struct objectparams_t;
  15. struct solid_t;
  16. // HACKHACK: Make this part of IClientSystem somehow???
  17. extern bool PhysicsDLLInit( CreateInterfaceFn physicsFactory );
  18. extern void PhysicsReset();
  19. extern void PhysicsSimulate();
  20. extern float PhysGetSyncCreateTime();
  21. extern void VPhysicsShadowDataChanged( bool bCreate, C_BaseEntity *pEntity );
  22. void PhysAddShadow( C_BaseEntity *pEntity );
  23. void PhysRemoveShadow( C_BaseEntity *pEntity );
  24. void PhysSetPredictionCommandNum( int iCommandNum );
  25. #endif // PHYSICS_H