ff7tk
1.2.0.28
Work with Final Fantasy 7 game data
Main Page
Related Pages
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
a
b
c
d
f
i
k
l
m
p
r
s
v
w
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
Files
File List
File Members
All
a
c
g
l
m
n
p
s
x
Functions
Typedefs
Macros
a
c
g
l
m
n
p
s
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
formats
TimFile.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2009 - 2022 Arzel Jérôme <myst6re@gmail.com>
2
// SPDX-License-Identifier: LGPL-3.0-or-later
3
#pragma once
4
5
#include <QImage>
6
#include <TextureFile>
7
#include <ff7tkformats_export.h>
8
9
class
FF7TKFORMATS_EXPORT
TimFile
:
public
TextureFile
10
{
11
public
:
12
TimFile
() :
TextureFile
(), bpp(0), palX(0), palY(0), palW(0), palH(0), imgX(0), imgY(0) {}
13
explicit
TimFile
(
const
QByteArray &data);
14
TimFile
(
const
TextureFile
&texture, quint8 bpp, quint16 palX, quint16 palY, quint16 palW, quint16 palH, quint16 imgX, quint16 imgY);
15
bool
open(
const
QByteArray &data);
16
bool
save(QByteArray &data)
const
;
17
private
:
18
quint8 bpp;
19
quint32 sizeImgSection;
20
quint16 palX, palY;
21
quint16 palW, palH;
22
quint16 imgX, imgY;
23
QList<QBitArray> _alphaBits;
24
};
TextureFile
Definition:
TextureFile.h:10
TimFile
Definition:
TimFile.h:10
TimFile::TimFile
TimFile()
Definition:
TimFile.h:12
Generated by
1.9.1