TdbFile.h 617 B

1234567891011121314151617181920212223242526
  1. #ifndef TDB_FILE_H
  2. #define TDB_FILE_H
  3. #include <Ogre.h>
  4. #include "../../common/Surface.h"
  5. #include "common/LzsFile.h"
  6. #include "../../common/Vram.h"
  7. class TdbFile : public LzsFile
  8. {
  9. public:
  10. explicit TdbFile( const Ogre::String& file );
  11. explicit TdbFile( File* pFile );
  12. TdbFile( File* pFile, const u32 offset, const u32 length );
  13. TdbFile( u8* pBuffer, const u32 offset, const u32 length );
  14. virtual ~TdbFile();
  15. void CreateTexture( const Ogre::PixelBox& pb, const int face_id, const int start_x, const int start_y );
  16. };
  17. #endif // TDB_FILE_h