2004-05-30 02:46:58 +02:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Name: SkeletonAnim.h
|
|
|
|
// Author: Rich Cross
|
|
|
|
// Contact: rich@wildfiregames.com
|
|
|
|
//
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _SKELETONANIM_H
|
|
|
|
#define _SKELETONANIM_H
|
|
|
|
|
|
|
|
#include "Bound.h"
|
|
|
|
|
|
|
|
class CSkeletonAnimDef;
|
|
|
|
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// CSkeletonAnim: an instance of a CSkeletonAnimDef, for application onto a model
|
|
|
|
class CSkeletonAnim
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// the raw animation frame data
|
|
|
|
CSkeletonAnimDef* m_AnimDef;
|
|
|
|
// speed at which this animation runs
|
|
|
|
float m_Speed;
|
2005-04-22 09:12:55 +02:00
|
|
|
// time during the animation at which the interesting bit happens (msec)
|
|
|
|
size_t m_ActionPos;
|
2004-05-30 02:46:58 +02:00
|
|
|
// object space bounds of the model when this animation is applied to it
|
|
|
|
CBound m_ObjectBounds;
|
|
|
|
};
|
|
|
|
|
2004-06-02 17:03:17 +02:00
|
|
|
#endif
|