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
884 B

  1. //========= Copyright c 1996-2008, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Physics2 interfaces to vphysics DLL
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef VPHYSICS2_INTERFACE_VERSION_FLAGS_H
  8. #define VPHYSICS2_INTERFACE_VERSION_FLAGS_H
  9. enum Physics2FlagEnum
  10. {
  11. PHYSICS2_IS_ACTOR_STATIC = 1,
  12. PHYSICS2_IS_ACTOR_FAST = 1 << 1,
  13. // assert that Release() call is final
  14. PHYSICS2_ASSERT_RELEASE_IS_FINAL = 1
  15. };
  16. enum Physics2CookedMeshTypes
  17. {
  18. PHYSICS2_MESH_TYPE_POLYTOPE,
  19. PHYSICS2_MESH_TYPE_POLYSOUP,
  20. PHYSICS2_MESH_TYPE_MOPP,
  21. PHYSICS2_MESH_TYPE_CUSTOM
  22. };
  23. enum Physics2StockShapes
  24. {
  25. PHYSICS2_STOCK_SPHERE_1M,
  26. PHYSICS2_STOCK_BOX_1M,
  27. PHYSICS2_STOCK_SHAPE_COUNT
  28. };
  29. enum Physics2CreateWorldFlags
  30. {
  31. PHYSICS2_CREATE_CLIENT_WORLD = 1<<0,
  32. PHYSICS2_CREATE_SERVER_WORLD = 1<<1
  33. };
  34. #endif