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
54 lines
724 B
//========= 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
|