25 #ifndef GRAPHICS_IMAGES_TPC_H 26 #define GRAPHICS_IMAGES_TPC_H 31 class SeekableReadStream;
62 #endif // GRAPHICS_IMAGES_TPC_H bool checkCubeMap(uint32 &width, uint32 &height)
Generic image decoder interface.
static void deSwizzle(byte *dst, const byte *src, uint32 width, uint32 height)
void readData(Common::SeekableReadStream &tpc, byte encoding)
BioWare's own texture format, TPC.
TPC(Common::SeekableReadStream &tpc)
void readTXI(Common::SeekableReadStream &tpc)
void load(Common::SeekableReadStream &tpc)
A generic interface for image decoders.
void readHeader(Common::SeekableReadStream &tpc, byte &encoding)
Interface for a seekable & readable data stream.