mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 14:16:50 +00:00
55 lines
724 B
C
55 lines
724 B
C
|
//========= 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
|