2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-06-16 17:53:27 +00:00
2018-06-29 10:21:36 -10:00

37 lines
966 B
C++

#ifndef __DNAMP1_SAVW_HPP__
#define __DNAMP1_SAVW_HPP__
#include "DataSpec/DNACommon/SAVWCommon.hpp"
#include "DNAMP1.hpp"
namespace DataSpec::DNAMP1
{
struct Scan : BigDNA
{
AT_DECL_DNA_YAML
UniqueID32 scanId;
Value<SAVWCommon::EScanCategory> category;
Scan() = default;
Scan(const UniqueID32& id) : scanId(id), category(SAVWCommon::EScanCategory::None) {}
};
struct SAVW : BigDNA
{
AT_DECL_DNA_YAML
SAVWCommon::Header header;
Value<atUint32> skippableCutsceneCount;
Vector<atUint32, AT_DNA_COUNT(skippableCutsceneCount)> skippableCutscenes;
Value<atUint32> relayCount;
Vector<atUint32, AT_DNA_COUNT(relayCount)> relays;
Value<atUint32> layerCount;
Vector<SAVWCommon::Layer, AT_DNA_COUNT(layerCount)> layers;
Value<atUint32> doorCount;
Vector<atUint32, AT_DNA_COUNT(doorCount)> doors;
Value<atUint32> scanCount;
Vector<Scan, AT_DNA_COUNT(scanCount)> scans;
};
}
#endif // __DNAMP1_SAVW_HPP__