ff7tk 0.80.25
Work with Final Fantasy 7 game data
Type_materia.h
Go to the documentation of this file.
1/****************************************************************************/
2// copyright 2012 -2020 Chris Rizzitello <sithlord48@gmail.com> //
3// //
4// This file is part of FF7tk //
5// //
6// FF7tk is free software: you can redistribute it and/or modify //
7// it under the terms of the GNU General Public License as published by //
8// the Free Software Foundation, either version 3 of the License, or //
9// (at your option) any later version. //
10// //
11// FF7tk is distributed in the hope that it will be useful, //
12// but WITHOUT ANY WARRANTY; without even the implied warranty of //
13// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
14// GNU General Public License for more details. //
15/****************************************************************************/
16#pragma once
17
18#ifdef _MSC_VER
19# define PACK(structure) \
20 __pragma(pack(push, 1)) \
21 structure \
22 __pragma(pack(pop))
23#elif defined(__MINGW32__)
24#define PACK(structure) structure __attribute__ ((gcc_struct, __packed__))
25#else
26#define PACK(structure) structure Q_PACKED
27#endif
28#ifndef ff7tk_export_h
29 #include <ff7tk_export.h>
30#endif
36struct FF7TK_EXPORT materia{// sizeof 4
37 quint8 id;
38 quint8 ap[3];
39});
#define PACK(structure)
Definition: Type_materia.h:26
materia format saved in materia list or on a character