127 void IncreaseRefCount()
132 void DecreaseRefCount()
139 TCHAR m_szName[ 31 ];
140 TVector3 m_SomeVector;
141 TINT m_iReferenceCount;
142 TINT m_iNumTranslations;
143 TINT m_iNumQuaternions;
145 TINT m_iTranslationSize;
146 TINT m_iQuaternionSize;
166 TASSERT( a_iIndex < m_iTKeyCount );
167 return &m_pTranslations[ a_iIndex ];
172 TASSERT( a_iIndex < m_iQKeyCount );
173 return &m_pQuaternions[ a_iIndex ];
178 TASSERT( a_iIndex < m_iQKeyCount );
179 return m_pScales[ a_iIndex ];
220 TINT m_iNumLibraries = 0;
TRB (Toshi Relocatable Binary) resource system for the Toshi engine.
Quaternion implementation for the Toshi engine.
3D vector implementation for the Toshi engine
LoadLibrary TOSHI_NAMESPACE_START constexpr TINT TANIMATION_MAXBONES
unsigned short TAnimationBone
TQuaternion TAnimQuaternion
#define TREINTERPRETCAST(TYPE, VALUE)
#define TOSHI_NAMESPACE_START
#define TOSHI_NAMESPACE_END
TFLOAT GetSeqTime() const
TFLOAT GetBlendOutSpeed() const
void SetBlendInSpeed(TFLOAT a_fBlendInSpeed)
friend class TSkeletonInstance
void ChangeToManaged(TFLOAT a_fBlendOutSpeed)
@ Flags_UpdateStateOnRemove
TBOOL IsUpdateStateOnRemove() const
TBOOL UpdateTime(TFLOAT a_fDeltaTime)
void RemoveAnimation(TFLOAT a_fVal)
TFLOAT SetDestWeight(TFLOAT a_fDestWeight, TFLOAT a_fBlendInSpeed)
TUINT16 GetSequence() const
TSkeletonInstance * GetSkeletonInstance() const
TAnimationBone * GetBones()
TFLOAT SetSpeed(TFLOAT a_fSpeed)
void SetState(State a_eState)
TFLOAT GetBlendInSpeed() const
TFLOAT GetTotalTime() const
class TSkeletonSequence * GetSequencePtr() const
TAnimationBone * GetBone(TINT a_iIndex)
TFLOAT GetDestWeight() const
void SetBlendOutSpeed(TFLOAT a_fBlendOutSpeed)
const TCHAR * GetName() const
TINT GetNameLength() const
friend class TKeyframeLibraryInstance
static TKeyframeLibrary * CreateFromTRB(TTRB *a_pTRB, const TCHAR *a_szSymbolName)
void SetTRB(TTRB *a_pTRB)
TAnimQuaternion * m_pQuaternions
TAnimVector * m_pTranslations
TAnimVector * GetT(TINT a_iIndex) const
void SetQCount(TINT a_iQCount)
TKeyframeLibrary * Create(TKeyframeLibrary *a_pLibrary)
TAnimQuaternion * GetQ(TINT a_iIndex) const
void SetLibrary(TKeyframeLibrary *a_pLibrary)
void SetSCount(TINT a_iSCount)
TKeyframeLibraryInstance()
TAnimScale GetS(TINT a_iIndex) const
void SetTCount(TINT a_iTCount)
TKeyframeLibrary * GetLibrary() const
TKeyframeLibrary * CreateEx(TKeyframeLibrary *a_pLibrary, TINT a_iTKeyCount, TINT a_iQKeyCount, TINT a_iSKeyCount, TINT a_iTBaseIndex, TINT a_iQBaseIndex, TINT a_iSBaseIndex)
TKeyframeLibraryManager()
TKeyframeLibrary * GetLibrary(const TCHAR *a_szName)
TKeyframeLibrary * LoadLibrary(const TCHAR *a_szFilePath)
void UnloadLibrary(TKeyframeLibrary *a_pLibrary)
~TKeyframeLibraryManager()