ff7tk
1.2.0.13
Work with Final Fantasy 7 game data
|
#include <TimFile.h>
Public Member Functions | |
TimFile () | |
TimFile (const QByteArray &data) | |
TimFile (const TextureFile &texture, quint8 bpp, quint16 palX, quint16 palY, quint16 palW, quint16 palH, quint16 imgX, quint16 imgY) | |
bool | open (const QByteArray &data) |
bool | save (QByteArray &data) const |
Public Member Functions inherited from TextureFile | |
TextureFile () | |
TextureFile (const QImage &image) | |
TextureFile (const QImage &image, const QList< QList< QRgb > > &colorTables) | |
bool | isValid () const |
void | clear () |
const QImage & | image () const |
QImage * | imagePtr () |
bool | isPaletted () const |
const QList< QList< QRgb > > & | colorTables () const |
qsizetype | currentColorTable () const |
QList< QRgb > | colorTable (qsizetype id) const |
void | setCurrentColorTable (qsizetype id) |
void | setColorTable (qsizetype id, const QList< QRgb > &colorTable) |
qsizetype | colorTableCount () const |
void | debug () const |
Additional Inherited Members | |
Protected Attributes inherited from TextureFile | |
QImage | _image |
QList< QList< QRgb > > | _colorTables |
qsizetype | _currentColorTable |
|
inline |
|
explicit |
TimFile::TimFile | ( | const TextureFile & | texture, |
quint8 | bpp, | ||
quint16 | palX, | ||
quint16 | palY, | ||
quint16 | palW, | ||
quint16 | palH, | ||
quint16 | imgX, | ||
quint16 | imgY | ||
) |
bool TimFile::open | ( | const QByteArray & | data | ) |
bool TimFile::save | ( | QByteArray & | data | ) | const |