aboutsummaryrefslogtreecommitdiff
path: root/mp/src/public/tools/bonelist.h
blob: dbb3972131fbf5f1540b98e4566f191deb86ee1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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