@@ -29,22 +29,24 @@ class CAnimBlendSequenceSAInterface
2929 };
3030 unsigned short sFlags ;
3131 unsigned short sNumKeyFrames ;
32- void * pKeyFrames;
32+ BYTE * pKeyFrames;
3333};
3434
3535class CAnimBlendSequenceSA : public CAnimBlendSequence
3636{
3737public:
38- CAnimBlendSequenceSA ( CAnimBlendSequenceSAInterface * pInterface ) { m_pInterface = pInterface; }
39- void Initialize ( void );
40- void SetName ( const char * szName );
41- void SetBoneTag ( int32_t i32BoneID );
42- void SetKeyFrames ( size_t cKeyFrames, bool bRoot, bool bCompressed, void * pKeyFrames );
43- uint32_t GetHash ( void ) { return m_pInterface->m_hash ; }
44- uint16_t GetBoneTag ( void ) { return m_pInterface->m_boneId ; }
45- void * GetKeyFrames ( void ) { return m_pInterface->pKeyFrames ; }
46- unsigned short GetKeyFramesCount ( void ) { return m_pInterface->sNumKeyFrames ; }
47- CAnimBlendSequenceSAInterface * GetInterface ( void ) { return m_pInterface; }
38+ CAnimBlendSequenceSA ( CAnimBlendSequenceSAInterface * pInterface ) { m_pInterface = pInterface; }
39+ void Initialize ( void );
40+ void SetName ( const char * szName );
41+ void SetBoneTag ( int32_t i32BoneID );
42+ void SetKeyFrames ( size_t cKeyFrames, bool bRoot, bool bCompressed, void * pKeyFrames );
43+ void * GetKeyFrame ( size_t iFrame, uint32_t u32FrameSizeInBytes );
44+ uint32_t GetHash ( void ) { return m_pInterface->m_hash ; }
45+ uint16_t GetBoneTag ( void ) { return m_pInterface->m_boneId ; }
46+ BYTE * GetKeyFrames ( void ) { return m_pInterface->pKeyFrames ; }
47+ unsigned short GetKeyFramesCount ( void ) { return m_pInterface->sNumKeyFrames ; }
48+ bool IsBigChunkForAllSequences ( void ) { return ( ( m_pInterface->sFlags >> 3 ) & 1 ); }
49+ CAnimBlendSequenceSAInterface * GetInterface ( void ) { return m_pInterface; }
4850
4951protected:
5052 CAnimBlendSequenceSAInterface * m_pInterface;
0 commit comments