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.

35 lines
853 B

  1. //====== Copyright � 1996-2005, Valve Corporation, All rights reserved. =======
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifndef DEATH_POSE_H
  7. #define DEATH_POSE_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. enum
  12. {
  13. DEATH_FRAME_HEAD = 1,
  14. DEATH_FRAME_STOMACH,
  15. DEATH_FRAME_LEFTARM,
  16. DEATH_FRAME_RIGHTARM,
  17. DEATH_FRAME_LEFTLEG,
  18. DEATH_FRAME_RIGHTLEG,
  19. MAX_DEATHPOSE_FRAMES = DEATH_FRAME_RIGHTLEG
  20. };
  21. #ifdef CLIENT_DLL
  22. void GetRagdollCurSequenceWithDeathPose( C_BaseAnimating *entity, matrix3x4a_t *curBones, float flTime, int activity, int frame );
  23. #else // !CLIENT_DLL
  24. /// Calculates death pose activity and frame
  25. void SelectDeathPoseActivityAndFrame( CBaseAnimating *entity, const CTakeDamageInfo &info, int hitgroup, Activity& activity, int& frame );
  26. #endif // !CLIENT_DLL
  27. #endif // DEATH_POSE_H