SkeletonFile.h 644 B

12345678910111213141516171819202122232425
  1. #ifndef SKELETON_FILE_H
  2. #define SKELETON_FILE_H
  3. #include <Ogre.h>
  4. #include "SkeletonFile.h"
  5. #include "common/File.h"
  6. class SkeletonFile : public File
  7. {
  8. public:
  9. explicit SkeletonFile(const Ogre::String& file);
  10. explicit SkeletonFile(File* pFile);
  11. SkeletonFile(File* pFile, const u32 offset, const u32 length);
  12. SkeletonFile(u8* pBuffer, const u32 offset, const u32 length);
  13. virtual ~SkeletonFile(void);
  14. void GetData ( std::vector< s16 >& skeleton_length, const int offset_to_bones, const int number_of_bones, Ogre::SkeletonPtr skeleton );
  15. };
  16. #endif // SKELETON_FILE_H