ff7tk  1.0.0.16
Work with Final Fantasy 7 game data
Type_FF7CHOCOBO.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 #include <QtCore/qglobal.h>
6 #include <ff7tkdata_export.h>
7 
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 
26 PACK(
27 struct FF7TKDATA_EXPORT FF7CHOCOBO {
28  quint16 sprintspd = 0;
29  quint16 maxsprintspd = 0;
30  quint16 speed = 0;
31  quint16 maxspeed = 0;
32  quint8 accel = 0;
33  quint8 coop = 0;
34  quint8 intelligence = 0;
35  quint8 personality = 0;
36  quint8 pcount = 0;
37  quint8 raceswon = 0;
38  quint8 sex = 0;
39  quint8 type = 0;
40 });
PACK
#define PACK(structure)
Definition: Type_FF7CHOCOBO.h:16
FF7CHOCOBO
a chocobo in save game