ff7tk  1.2.0.13
Work with Final Fantasy 7 game data
Public Member Functions | List of all members
TimFile Class Reference

#include <TimFile.h>

Inheritance diagram for TimFile:
Inheritance graph
[legend]
Collaboration diagram for TimFile:
Collaboration graph
[legend]

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
 

Constructor & Destructor Documentation

◆ TimFile() [1/3]

TimFile::TimFile ( )
inline

◆ TimFile() [2/3]

TimFile::TimFile ( const QByteArray &  data)
explicit

◆ TimFile() [3/3]

TimFile::TimFile ( const TextureFile texture,
quint8  bpp,
quint16  palX,
quint16  palY,
quint16  palW,
quint16  palH,
quint16  imgX,
quint16  imgY 
)

Member Function Documentation

◆ open()

bool TimFile::open ( const QByteArray &  data)

◆ save()

bool TimFile::save ( QByteArray &  data) const

The documentation for this class was generated from the following files: