metaforce/DataSpec/DNAMP1/SAVW.hpp

35 lines
893 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2016-07-24 01:51:15 +00:00
2018-06-29 20:21:36 +00:00
#include "DataSpec/DNACommon/SAVWCommon.hpp"
2016-07-24 01:51:15 +00:00
#include "DNAMP1.hpp"
2017-12-29 08:08:12 +00:00
namespace DataSpec::DNAMP1
2016-07-24 01:51:15 +00:00
{
2018-02-22 07:24:51 +00:00
struct Scan : BigDNA
2016-07-24 01:51:15 +00:00
{
2018-02-22 07:24:51 +00:00
AT_DECL_DNA_YAML
2016-07-24 01:51:15 +00:00
UniqueID32 scanId;
Value<SAVWCommon::EScanCategory> category;
2016-10-02 22:41:36 +00:00
Scan() = default;
Scan(const UniqueID32& id) : scanId(id), category(SAVWCommon::EScanCategory::None) {}
2016-07-24 01:51:15 +00:00
};
2018-02-22 07:24:51 +00:00
struct SAVW : BigDNA
2016-07-24 01:51:15 +00:00
{
2018-02-22 07:24:51 +00:00
AT_DECL_DNA_YAML
2016-07-24 01:51:15 +00:00
SAVWCommon::Header header;
Value<atUint32> skippableCutsceneCount;
2018-02-25 08:23:27 +00:00
Vector<atUint32, AT_DNA_COUNT(skippableCutsceneCount)> skippableCutscenes;
2016-07-24 01:51:15 +00:00
Value<atUint32> relayCount;
2018-02-25 08:23:27 +00:00
Vector<atUint32, AT_DNA_COUNT(relayCount)> relays;
2016-07-24 01:51:15 +00:00
Value<atUint32> layerCount;
2018-02-25 08:23:27 +00:00
Vector<SAVWCommon::Layer, AT_DNA_COUNT(layerCount)> layers;
2016-07-24 01:51:15 +00:00
Value<atUint32> doorCount;
2018-02-25 08:23:27 +00:00
Vector<atUint32, AT_DNA_COUNT(doorCount)> doors;
2016-07-24 01:51:15 +00:00
Value<atUint32> scanCount;
2018-02-25 08:23:27 +00:00
Vector<Scan, AT_DNA_COUNT(scanCount)> scans;
2016-07-24 01:51:15 +00:00
};
}