diff options
Diffstat (limited to 'public/tools/bonelist.h')
| -rw-r--r-- | public/tools/bonelist.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/public/tools/bonelist.h b/public/tools/bonelist.h new file mode 100644 index 0000000..dbb3972 --- /dev/null +++ b/public/tools/bonelist.h @@ -0,0 +1,54 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//============================================================================= + +#ifndef BONELIST_H +#define BONELIST_H +#ifdef _WIN32 +#pragma once +#endif + +#include "studio.h" + +class CBoneList +{ +public: + + CBoneList(); + + void Release(); + + static CBoneList *Alloc(); + +public: + + int m_nBones; + Vector m_vecPos[ MAXSTUDIOBONES ]; + Quaternion m_quatRot[ MAXSTUDIOBONES ]; + +private: + bool m_bShouldDelete; +}; + +class CFlexList +{ +public: + + CFlexList(); + + void Release(); + + static CFlexList *Alloc(); + +public: + + int m_nNumFlexes; + float m_flexWeights[ MAXSTUDIOFLEXCTRL ]; + +private: + bool m_bShouldDelete; +}; + +#endif // BONELIST_H |