ff7tk
1.2.0.13
Work with Final Fantasy 7 game data
src
data
Type_materia.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2012 - 2020 Chris Rizzitello <sithlord48@gmail.com>
2
// SPDX-License-Identifier: LGPL-3.0-or-later
3
4
#pragma once
5
6
#include <QtCore/qglobal.h>
7
#include <QMetaType>
8
#ifdef _MSC_VER
9
# define PACK(structure) \
10
__pragma(pack(push, 1)) \
11
structure \
12
__pragma(pack(pop))
13
#elif defined(__MINGW32__)
14
#define PACK(structure) structure __attribute__ ((gcc_struct, __packed__))
15
#else
16
#define PACK(structure) structure Q_PACKED
17
#endif
18
#include <ff7tkdata_export.h>
24
PACK
(
25
struct
FF7TKDATA_EXPORT
materia
{
// sizeof 4
26
quint8 id;
27
quint8 ap[3];
28
});
29
Q_DECLARE_METATYPE(
materia
)
materia
materia format saved in materia list or on a character
PACK
#define PACK(structure)
Definition:
Type_materia.h:16
Generated by
1.8.17