metaforce/DataSpec/DNAMP1/SAVW.hpp

31 lines
888 B
C++
Raw Permalink 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"
2018-12-08 05:30:43 +00:00
namespace DataSpec::DNAMP1 {
struct Scan : BigDNA {
AT_DECL_DNA_YAML
UniqueID32 scanId;
Value<SAVWCommon::EScanCategory> category;
2016-10-02 22:41:36 +00:00
2018-12-08 05:30:43 +00:00
Scan() = default;
Scan(const UniqueID32& id) : scanId(id), category(SAVWCommon::EScanCategory::None) {}
2016-07-24 01:51:15 +00:00
};
2018-12-08 05:30:43 +00:00
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;
2016-07-24 01:51:15 +00:00
};
2018-12-08 05:30:43 +00:00
} // namespace DataSpec::DNAMP1