metaforce/DataSpec/DNAMP1/SAVW.hpp

37 lines
945 B
C++
Raw Normal View History

2016-07-24 01:51:15 +00:00
#ifndef __DNAMP1_SAVW_HPP__
#define __DNAMP1_SAVW_HPP__
#include "../DNACommon/SAVWCommon.hpp"
#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;
Vector<atUint32, DNA_COUNT(skippableCutsceneCount)> skippableCutscenes;
Value<atUint32> relayCount;
Vector<atUint32, DNA_COUNT(relayCount)> relays;
Value<atUint32> layerCount;
Vector<SAVWCommon::Layer, DNA_COUNT(layerCount)> layers;
Value<atUint32> doorCount;
Vector<atUint32, DNA_COUNT(doorCount)> doors;
Value<atUint32> scanCount;
Vector<Scan, DNA_COUNT(scanCount)> scans;
};
}
#endif // __DNAMP1_SAVW_HPP__