metaforce/DataSpec/DNAMP3/SAVW.hpp

50 lines
1.2 KiB
C++
Raw Normal View History

2016-07-24 01:51:15 +00:00
#ifndef __DNAMP3_SAVW_HPP__
#define __DNAMP3_SAVW_HPP__
#include "../DNACommon/SAVWCommon.hpp"
#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;
Vector<SavedState, DNA_COUNT(skippableCutsceneCount)> skippableCutscenes;
Value<atUint32> relayCount;
Vector<SavedState, DNA_COUNT(relayCount)> relays;
Value<atUint32> doorCount;
Vector<SavedState, DNA_COUNT(doorCount)> doors;
Value<atUint32> scanCount;
Vector<Scan, DNA_COUNT(scanCount)> scans;
Value<atUint32> systemVarCount;
Vector<SAVWCommon::EnvironmentVariable, DNA_COUNT(systemVarCount)> systemVars;
Value<atUint32> gameVarCount;
Vector<SAVWCommon::EnvironmentVariable, DNA_COUNT(gameVarCount)> gameVars;
Value<atUint32> gameObjectCount;
Vector<SavedState, DNA_COUNT(gameObjectCount)> gameObjects;
};
}
#endif // __DNAMP3_SAVW_HPP__