Team Fortress 2 Source Code as on 22/4/2020
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.

54 lines
724 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifndef BONELIST_H
  7. #define BONELIST_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "studio.h"
  12. class CBoneList
  13. {
  14. public:
  15. CBoneList();
  16. void Release();
  17. static CBoneList *Alloc();
  18. public:
  19. int m_nBones;
  20. Vector m_vecPos[ MAXSTUDIOBONES ];
  21. Quaternion m_quatRot[ MAXSTUDIOBONES ];
  22. private:
  23. bool m_bShouldDelete;
  24. };
  25. class CFlexList
  26. {
  27. public:
  28. CFlexList();
  29. void Release();
  30. static CFlexList *Alloc();
  31. public:
  32. int m_nNumFlexes;
  33. float m_flexWeights[ MAXSTUDIOFLEXCTRL ];
  34. private:
  35. bool m_bShouldDelete;
  36. };
  37. #endif // BONELIST_H