2016-07-24 01:51:15 +00:00
|
|
|
#ifndef __DNAMP3_SAVW_HPP__
|
|
|
|
#define __DNAMP3_SAVW_HPP__
|
|
|
|
|
2018-06-29 20:21:36 +00:00
|
|
|
#include "DataSpec/DNACommon/SAVWCommon.hpp"
|
2016-07-24 01:51:15 +00:00
|
|
|
#include "DNAMP3.hpp"
|
|
|
|
|
2017-12-29 08:08:12 +00:00
|
|
|
namespace DataSpec::DNAMP3
|
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
|
|
|
UniqueID64 scanId;
|
|
|
|
Value<SAVWCommon::EScanCategory> category;
|
|
|
|
};
|
|
|
|
|
2018-02-22 07:24:51 +00:00
|
|
|
struct SavedState : BigDNA
|
2016-07-24 01:51:15 +00:00
|
|
|
{
|
2018-02-22 07:24:51 +00:00
|
|
|
AT_DECL_DNA_YAML
|
|
|
|
struct ID : 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
|
|
|
Value<atUint64> id[2];
|
|
|
|
};
|
|
|
|
ID id;
|
|
|
|
Value<atUint32> instance;
|
|
|
|
};
|
|
|
|
|
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<SavedState, 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<SavedState, AT_DNA_COUNT(relayCount)> relays;
|
2016-07-24 01:51:15 +00:00
|
|
|
Value<atUint32> doorCount;
|
2018-02-25 08:23:27 +00:00
|
|
|
Vector<SavedState, 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
|
|
|
Value<atUint32> systemVarCount;
|
2018-02-25 08:23:27 +00:00
|
|
|
Vector<SAVWCommon::EnvironmentVariable, AT_DNA_COUNT(systemVarCount)> systemVars;
|
2016-07-24 01:51:15 +00:00
|
|
|
Value<atUint32> gameVarCount;
|
2018-02-25 08:23:27 +00:00
|
|
|
Vector<SAVWCommon::EnvironmentVariable, AT_DNA_COUNT(gameVarCount)> gameVars;
|
2016-07-24 01:51:15 +00:00
|
|
|
Value<atUint32> gameObjectCount;
|
2018-02-25 08:23:27 +00:00
|
|
|
Vector<SavedState, AT_DNA_COUNT(gameObjectCount)> gameObjects;
|
2016-07-24 01:51:15 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __DNAMP3_SAVW_HPP__
|