metaforce/DataSpec/DNAMP3/SAVW.hpp

42 lines
1.2 KiB
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 "DNAMP3.hpp"
2018-12-08 05:30:43 +00:00
namespace DataSpec::DNAMP3 {
struct Scan : BigDNA {
AT_DECL_DNA_YAML
UniqueID64 scanId;
Value<SAVWCommon::EScanCategory> category;
2016-07-24 01:51:15 +00:00
};
2018-12-08 05:30:43 +00:00
struct SavedState : BigDNA {
AT_DECL_DNA_YAML
struct ID : BigDNA {
2018-02-22 07:24:51 +00:00
AT_DECL_DNA_YAML
2018-12-08 05:30:43 +00:00
Value<atUint64> id[2];
};
ID id;
Value<atUint32> instance;
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<SavedState, AT_DNA_COUNT(skippableCutsceneCount)> skippableCutscenes;
Value<atUint32> relayCount;
Vector<SavedState, AT_DNA_COUNT(relayCount)> relays;
Value<atUint32> doorCount;
Vector<SavedState, AT_DNA_COUNT(doorCount)> doors;
Value<atUint32> scanCount;
Vector<Scan, AT_DNA_COUNT(scanCount)> scans;
Value<atUint32> systemVarCount;
Vector<SAVWCommon::EnvironmentVariable, AT_DNA_COUNT(systemVarCount)> systemVars;
Value<atUint32> gameVarCount;
Vector<SAVWCommon::EnvironmentVariable, AT_DNA_COUNT(gameVarCount)> gameVars;
Value<atUint32> gameObjectCount;
Vector<SavedState, AT_DNA_COUNT(gameObjectCount)> gameObjects;
2016-07-24 01:51:15 +00:00
};
2018-12-08 05:30:43 +00:00
} // namespace DataSpec::DNAMP3