Fixes for `override` modernization

This commit is contained in:
Phillip Stephens 2019-08-10 17:49:41 -07:00
parent 9d5b21fd63
commit ad5e395a51
154 changed files with 303 additions and 449 deletions

View File

@ -12,7 +12,7 @@ struct GlyphRect : BigDNA {
Value<float> bottom; Value<float> bottom;
}; };
struct IGlyph : BigDNAVYaml { struct IGlyph : BigDNAVYaml {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
Value<atUint16> m_character; Value<atUint16> m_character;
GlyphRect m_glyphRect; GlyphRect m_glyphRect;
@ -34,8 +34,7 @@ struct IGlyph : BigDNAVYaml {
}; };
struct GlyphMP1 : IGlyph { struct GlyphMP1 : IGlyph {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
Value<atInt32> m_leftPadding; Value<atInt32> m_leftPadding;
Value<atInt32> m_advance; Value<atInt32> m_advance;
Value<atInt32> m_rightPadding; Value<atInt32> m_rightPadding;
@ -54,8 +53,7 @@ struct GlyphMP1 : IGlyph {
}; };
struct GlyphMP2 : IGlyph { struct GlyphMP2 : IGlyph {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
Value<atInt8> m_layer; Value<atInt8> m_layer;
Value<atInt8> m_leftPadding; Value<atInt8> m_leftPadding;
Value<atInt8> m_advance; Value<atInt8> m_advance;

View File

@ -24,8 +24,7 @@ struct AT_SPECIALIZE_PARMS(DataSpec::UniqueID32, DataSpec::UniqueID64) FSM2 : Bi
}; };
struct FSMV1 : IFSM { struct FSMV1 : IFSM {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
Value<atUint32> stateCount; Value<atUint32> stateCount;
Value<atUint32> unknown1Count; Value<atUint32> unknown1Count;
Value<atUint32> unknown2Count; Value<atUint32> unknown2Count;
@ -68,8 +67,7 @@ struct AT_SPECIALIZE_PARMS(DataSpec::UniqueID32, DataSpec::UniqueID64) FSM2 : Bi
}; };
struct FSMV2 : IFSM { struct FSMV2 : IFSM {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
Value<atUint32> stateCount; Value<atUint32> stateCount;
Value<atUint32> unknown1Count; Value<atUint32> unknown1Count;
Value<atUint32> unknown2Count; Value<atUint32> unknown2Count;

View File

@ -17,7 +17,6 @@ struct MAPA : BigDNA {
}; };
struct HeaderMP1 : IMAPAHeader { struct HeaderMP1 : IMAPAHeader {
AT_DECL_DNA
AT_DECL_DNAV AT_DECL_DNAV
Value<atUint32> unknown1 = 0; Value<atUint32> unknown1 = 0;
Value<atUint32> mapVisMode = 0; Value<atUint32> mapVisMode = 0;
@ -32,7 +31,6 @@ struct MAPA : BigDNA {
}; };
struct HeaderMP2 : IMAPAHeader { struct HeaderMP2 : IMAPAHeader {
AT_DECL_DNA
AT_DECL_DNAV AT_DECL_DNAV
Value<atUint32> unknown1 = 0; Value<atUint32> unknown1 = 0;
Value<atUint32> mapVisMode = 0; Value<atUint32> mapVisMode = 0;
@ -50,7 +48,6 @@ struct MAPA : BigDNA {
}; };
struct HeaderMP3 : IMAPAHeader { struct HeaderMP3 : IMAPAHeader {
AT_DECL_DNA
AT_DECL_DNAV AT_DECL_DNAV
Value<atUint32> unknown1 = 0; Value<atUint32> unknown1 = 0;
Value<atUint32> mapVisMode = 0; Value<atUint32> mapVisMode = 0;
@ -102,7 +99,6 @@ struct MAPA : BigDNA {
}; };
struct MappableObjectMP1_2 : IMappableObject { struct MappableObjectMP1_2 : IMappableObject {
AT_DECL_DNA
AT_DECL_DNAV AT_DECL_DNAV
Value<Type> type; Value<Type> type;
Value<atUint32> visMode; Value<atUint32> visMode;
@ -113,7 +109,6 @@ struct MAPA : BigDNA {
}; };
struct MappableObjectMP3 : IMappableObject { struct MappableObjectMP3 : IMappableObject {
AT_DECL_DNA
AT_DECL_DNAV AT_DECL_DNAV
Value<Type> type; Value<Type> type;
Value<atUint32> visMode; Value<atUint32> visMode;

View File

@ -72,7 +72,7 @@ struct IUVElement : IElement {
}; };
struct BoolHelper : IElement { struct BoolHelper : IElement {
AT_DECL_EXPLICIT_DNA_YAML AT_DECL_EXPLICIT_DNA_YAMLV_NO_TYPE
bool value = false; bool value = false;
operator bool() const { return value; } operator bool() const { return value; }
BoolHelper& operator=(bool val) { BoolHelper& operator=(bool val) {
@ -83,20 +83,20 @@ struct BoolHelper : IElement {
}; };
struct RELifetimeTween : IRealElement { struct RELifetimeTween : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
RealElementFactory a; RealElementFactory a;
RealElementFactory b; RealElementFactory b;
const char* ClassID() const override { return "LFTW"; } const char* ClassID() const override { return "LFTW"; }
}; };
struct REConstant : IRealElement { struct REConstant : IRealElement {
AT_DECL_EXPLICIT_DNA_YAML AT_DECL_EXPLICIT_DNA_YAMLV_NO_TYPE
Value<float> val; Value<float> val;
const char* ClassID() const override { return "CNST"; } const char* ClassID() const override { return "CNST"; }
}; };
struct RETimeChain : IRealElement { struct RETimeChain : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
RealElementFactory a; RealElementFactory a;
RealElementFactory b; RealElementFactory b;
IntElementFactory thresholdFrame; IntElementFactory thresholdFrame;
@ -104,14 +104,14 @@ struct RETimeChain : IRealElement {
}; };
struct REAdd : IRealElement { struct REAdd : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
RealElementFactory a; RealElementFactory a;
RealElementFactory b; RealElementFactory b;
const char* ClassID() const override { return "ADD_"; } const char* ClassID() const override { return "ADD_"; }
}; };
struct REClamp : IRealElement { struct REClamp : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
RealElementFactory min; RealElementFactory min;
RealElementFactory max; RealElementFactory max;
RealElementFactory val; RealElementFactory val;
@ -119,7 +119,7 @@ struct REClamp : IRealElement {
}; };
struct REKeyframeEmitter : IRealElement { struct REKeyframeEmitter : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
Value<atUint32> percentageTween; Value<atUint32> percentageTween;
Value<atUint32> unk1; Value<atUint32> unk1;
Value<bool> loop; Value<bool> loop;
@ -132,28 +132,28 @@ struct REKeyframeEmitter : IRealElement {
}; };
struct REInitialRandom : IRealElement { struct REInitialRandom : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
RealElementFactory a; RealElementFactory a;
RealElementFactory b; RealElementFactory b;
const char* ClassID() const override { return "IRND"; } const char* ClassID() const override { return "IRND"; }
}; };
struct RERandom : IRealElement { struct RERandom : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
RealElementFactory a; RealElementFactory a;
RealElementFactory b; RealElementFactory b;
const char* ClassID() const override { return "RAND"; } const char* ClassID() const override { return "RAND"; }
}; };
struct REMultiply : IRealElement { struct REMultiply : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
RealElementFactory a; RealElementFactory a;
RealElementFactory b; RealElementFactory b;
const char* ClassID() const override { return "MULT"; } const char* ClassID() const override { return "MULT"; }
}; };
struct REPulse : IRealElement { struct REPulse : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
IntElementFactory aDuration; IntElementFactory aDuration;
IntElementFactory bDuration; IntElementFactory bDuration;
RealElementFactory a; RealElementFactory a;
@ -162,19 +162,19 @@ struct REPulse : IRealElement {
}; };
struct RETimeScale : IRealElement { struct RETimeScale : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
RealElementFactory dv; RealElementFactory dv;
const char* ClassID() const override { return "SCAL"; } const char* ClassID() const override { return "SCAL"; }
}; };
struct RELifetimePercent : IRealElement { struct RELifetimePercent : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
RealElementFactory percent; RealElementFactory percent;
const char* ClassID() const override { return "RLPT"; } const char* ClassID() const override { return "RLPT"; }
}; };
struct RESineWave : IRealElement { struct RESineWave : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
RealElementFactory frequency; RealElementFactory frequency;
RealElementFactory amplitude; RealElementFactory amplitude;
RealElementFactory phase; RealElementFactory phase;
@ -182,14 +182,14 @@ struct RESineWave : IRealElement {
}; };
struct REInitialSwitch : IRealElement { struct REInitialSwitch : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
RealElementFactory a; RealElementFactory a;
RealElementFactory b; RealElementFactory b;
const char* ClassID() const override { return "ISWT"; } const char* ClassID() const override { return "ISWT"; }
}; };
struct RECompareLessThan : IRealElement { struct RECompareLessThan : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
RealElementFactory ca; RealElementFactory ca;
RealElementFactory cb; RealElementFactory cb;
RealElementFactory pass; RealElementFactory pass;
@ -198,7 +198,7 @@ struct RECompareLessThan : IRealElement {
}; };
struct RECompareEquals : IRealElement { struct RECompareEquals : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
RealElementFactory ca; RealElementFactory ca;
RealElementFactory cb; RealElementFactory cb;
RealElementFactory pass; RealElementFactory pass;
@ -207,101 +207,101 @@ struct RECompareEquals : IRealElement {
}; };
struct REParticleAdvanceParam1 : IRealElement { struct REParticleAdvanceParam1 : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
const char* ClassID() const override { return "PAP1"; } const char* ClassID() const override { return "PAP1"; }
}; };
struct REParticleAdvanceParam2 : IRealElement { struct REParticleAdvanceParam2 : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
const char* ClassID() const override { return "PAP2"; } const char* ClassID() const override { return "PAP2"; }
}; };
struct REParticleAdvanceParam3 : IRealElement { struct REParticleAdvanceParam3 : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
const char* ClassID() const override { return "PAP3"; } const char* ClassID() const override { return "PAP3"; }
}; };
struct REParticleAdvanceParam4 : IRealElement { struct REParticleAdvanceParam4 : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
const char* ClassID() const override { return "PAP4"; } const char* ClassID() const override { return "PAP4"; }
}; };
struct REParticleAdvanceParam5 : IRealElement { struct REParticleAdvanceParam5 : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
const char* ClassID() const override { return "PAP5"; } const char* ClassID() const override { return "PAP5"; }
}; };
struct REParticleAdvanceParam6 : IRealElement { struct REParticleAdvanceParam6 : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
const char* ClassID() const override { return "PAP6"; } const char* ClassID() const override { return "PAP6"; }
}; };
struct REParticleAdvanceParam7 : IRealElement { struct REParticleAdvanceParam7 : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
const char* ClassID() const override { return "PAP7"; } const char* ClassID() const override { return "PAP7"; }
}; };
struct REParticleAdvanceParam8 : IRealElement { struct REParticleAdvanceParam8 : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
const char* ClassID() const override { return "PAP8"; } const char* ClassID() const override { return "PAP8"; }
}; };
struct REParticleSizeOrLineLength : IRealElement { struct REParticleSizeOrLineLength : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
const char* ClassID() const override { return "PSLL"; } const char* ClassID() const override { return "PSLL"; }
}; };
struct REParticleRotationOrLineWidth : IRealElement { struct REParticleRotationOrLineWidth : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
const char* ClassID() const override { return "PRLW"; } const char* ClassID() const override { return "PRLW"; }
}; };
struct RESubtract : IRealElement { struct RESubtract : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
RealElementFactory a; RealElementFactory a;
RealElementFactory b; RealElementFactory b;
const char* ClassID() const override { return "SUB_"; } const char* ClassID() const override { return "SUB_"; }
}; };
struct REVectorMagnitude : IRealElement { struct REVectorMagnitude : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
VectorElementFactory vec; VectorElementFactory vec;
const char* ClassID() const override { return "VMAG"; } const char* ClassID() const override { return "VMAG"; }
}; };
struct REVectorXToReal : IRealElement { struct REVectorXToReal : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
VectorElementFactory vec; VectorElementFactory vec;
const char* ClassID() const override { return "VXTR"; } const char* ClassID() const override { return "VXTR"; }
}; };
struct REVectorYToReal : IRealElement { struct REVectorYToReal : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
VectorElementFactory vec; VectorElementFactory vec;
const char* ClassID() const override { return "VYTR"; } const char* ClassID() const override { return "VYTR"; }
}; };
struct REVectorZToReal : IRealElement { struct REVectorZToReal : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
VectorElementFactory vec; VectorElementFactory vec;
const char* ClassID() const override { return "VZTR"; } const char* ClassID() const override { return "VZTR"; }
}; };
struct RECEXT : IRealElement { struct RECEXT : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
IntElementFactory index; IntElementFactory index;
const char* ClassID() const override { return "CEXT"; } const char* ClassID() const override { return "CEXT"; }
}; };
struct REIntTimesReal : IRealElement { struct REIntTimesReal : IRealElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
IntElementFactory a; IntElementFactory a;
RealElementFactory b; RealElementFactory b;
const char* ClassID() const override { return "ITRL"; } const char* ClassID() const override { return "ITRL"; }
}; };
struct IEKeyframeEmitter : IIntElement { struct IEKeyframeEmitter : IIntElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
Value<atUint32> percentageTween; Value<atUint32> percentageTween;
Value<atUint32> unk1; Value<atUint32> unk1;
Value<bool> loop; Value<bool> loop;
@ -314,14 +314,14 @@ struct IEKeyframeEmitter : IIntElement {
}; };
struct IEDeath : IIntElement { struct IEDeath : IIntElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
IntElementFactory passthrough; IntElementFactory passthrough;
IntElementFactory thresholdFrame; IntElementFactory thresholdFrame;
const char* ClassID() const override { return "DETH"; } const char* ClassID() const override { return "DETH"; }
}; };
struct IEClamp : IIntElement { struct IEClamp : IIntElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
IntElementFactory min; IntElementFactory min;
IntElementFactory max; IntElementFactory max;
IntElementFactory val; IntElementFactory val;
@ -329,7 +329,7 @@ struct IEClamp : IIntElement {
}; };
struct IETimeChain : IIntElement { struct IETimeChain : IIntElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
IntElementFactory a; IntElementFactory a;
IntElementFactory b; IntElementFactory b;
IntElementFactory thresholdFrame; IntElementFactory thresholdFrame;
@ -337,39 +337,39 @@ struct IETimeChain : IIntElement {
}; };
struct IEAdd : IIntElement { struct IEAdd : IIntElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
IntElementFactory a; IntElementFactory a;
IntElementFactory b; IntElementFactory b;
const char* ClassID() const override { return "ADD_"; } const char* ClassID() const override { return "ADD_"; }
}; };
struct IEConstant : IIntElement { struct IEConstant : IIntElement {
AT_DECL_EXPLICIT_DNA_YAML AT_DECL_EXPLICIT_DNA_YAMLV_NO_TYPE
Value<atUint32> val; Value<atUint32> val;
const char* ClassID() const override { return "CNST"; } const char* ClassID() const override { return "CNST"; }
}; };
struct IEImpulse : IIntElement { struct IEImpulse : IIntElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
IntElementFactory val; IntElementFactory val;
const char* ClassID() const override { return "IMPL"; } const char* ClassID() const override { return "IMPL"; }
}; };
struct IELifetimePercent : IIntElement { struct IELifetimePercent : IIntElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
IntElementFactory percent; IntElementFactory percent;
const char* ClassID() const override { return "ILPT"; } const char* ClassID() const override { return "ILPT"; }
}; };
struct IEInitialRandom : IIntElement { struct IEInitialRandom : IIntElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
IntElementFactory a; IntElementFactory a;
IntElementFactory b; IntElementFactory b;
const char* ClassID() const override { return "IRND"; } const char* ClassID() const override { return "IRND"; }
}; };
struct IEPulse : IIntElement { struct IEPulse : IIntElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
IntElementFactory aDuration; IntElementFactory aDuration;
IntElementFactory bDuration; IntElementFactory bDuration;
IntElementFactory a; IntElementFactory a;
@ -378,14 +378,14 @@ struct IEPulse : IIntElement {
}; };
struct IEMultiply : IIntElement { struct IEMultiply : IIntElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
IntElementFactory a; IntElementFactory a;
IntElementFactory b; IntElementFactory b;
const char* ClassID() const override { return "MULT"; } const char* ClassID() const override { return "MULT"; }
}; };
struct IESampleAndHold : IIntElement { struct IESampleAndHold : IIntElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
IntElementFactory val; IntElementFactory val;
IntElementFactory waitMin; IntElementFactory waitMin;
IntElementFactory waitMax; IntElementFactory waitMax;
@ -393,46 +393,46 @@ struct IESampleAndHold : IIntElement {
}; };
struct IERandom : IIntElement { struct IERandom : IIntElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
IntElementFactory a; IntElementFactory a;
IntElementFactory b; IntElementFactory b;
const char* ClassID() const override { return "RAND"; } const char* ClassID() const override { return "RAND"; }
}; };
struct IETimeScale : IIntElement { struct IETimeScale : IIntElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
RealElementFactory dv; RealElementFactory dv;
const char* ClassID() const override { return "TSCL"; } const char* ClassID() const override { return "TSCL"; }
}; };
struct IEGTCP : IIntElement { struct IEGTCP : IIntElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
const char* ClassID() const override { return "GTCP"; } const char* ClassID() const override { return "GTCP"; }
}; };
struct IEModulo : IIntElement { struct IEModulo : IIntElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
IntElementFactory a; IntElementFactory a;
IntElementFactory b; IntElementFactory b;
const char* ClassID() const override { return "MODU"; } const char* ClassID() const override { return "MODU"; }
}; };
struct IESubtract : IIntElement { struct IESubtract : IIntElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
IntElementFactory direction; IntElementFactory direction;
IntElementFactory baseRadius; IntElementFactory baseRadius;
const char* ClassID() const override { return "SUB_"; } const char* ClassID() const override { return "SUB_"; }
}; };
struct VECone : IVectorElement { struct VECone : IVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
VectorElementFactory a; VectorElementFactory a;
RealElementFactory b; RealElementFactory b;
const char* ClassID() const override { return "CONE"; } const char* ClassID() const override { return "CONE"; }
}; };
struct VETimeChain : IVectorElement { struct VETimeChain : IVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
VectorElementFactory a; VectorElementFactory a;
VectorElementFactory b; VectorElementFactory b;
IntElementFactory thresholdFrame; IntElementFactory thresholdFrame;
@ -440,7 +440,7 @@ struct VETimeChain : IVectorElement {
}; };
struct VEAngleCone : IVectorElement { struct VEAngleCone : IVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
RealElementFactory angleXBias; RealElementFactory angleXBias;
RealElementFactory angleYBias; RealElementFactory angleYBias;
RealElementFactory angleXRange; RealElementFactory angleXRange;
@ -450,14 +450,14 @@ struct VEAngleCone : IVectorElement {
}; };
struct VEAdd : IVectorElement { struct VEAdd : IVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
VectorElementFactory a; VectorElementFactory a;
VectorElementFactory b; VectorElementFactory b;
const char* ClassID() const override { return "ADD_"; } const char* ClassID() const override { return "ADD_"; }
}; };
struct VECircleCluster : IVectorElement { struct VECircleCluster : IVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
VectorElementFactory circleOffset; VectorElementFactory circleOffset;
VectorElementFactory circleNormal; VectorElementFactory circleNormal;
IntElementFactory cycleFrames; IntElementFactory cycleFrames;
@ -466,13 +466,13 @@ struct VECircleCluster : IVectorElement {
}; };
struct VEConstant : IVectorElement { struct VEConstant : IVectorElement {
AT_DECL_EXPLICIT_DNA_YAML AT_DECL_EXPLICIT_DNA_YAMLV_NO_TYPE
RealElementFactory comps[3]; RealElementFactory comps[3];
const char* ClassID() const override { return "CNST"; } const char* ClassID() const override { return "CNST"; }
}; };
struct VECircle : IVectorElement { struct VECircle : IVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
VectorElementFactory circleOffset; VectorElementFactory circleOffset;
VectorElementFactory circleNormal; VectorElementFactory circleNormal;
RealElementFactory angleConstant; RealElementFactory angleConstant;
@ -482,7 +482,7 @@ struct VECircle : IVectorElement {
}; };
struct VEKeyframeEmitter : IVectorElement { struct VEKeyframeEmitter : IVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
Value<atUint32> percentageTween; Value<atUint32> percentageTween;
Value<atUint32> unk1; Value<atUint32> unk1;
Value<bool> loop; Value<bool> loop;
@ -495,20 +495,20 @@ struct VEKeyframeEmitter : IVectorElement {
}; };
struct VEMultiply : IVectorElement { struct VEMultiply : IVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
VectorElementFactory a; VectorElementFactory a;
VectorElementFactory b; VectorElementFactory b;
const char* ClassID() const override { return "MULT"; } const char* ClassID() const override { return "MULT"; }
}; };
struct VERealToVector : IVectorElement { struct VERealToVector : IVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
RealElementFactory a; RealElementFactory a;
const char* ClassID() const override { return "RTOV"; } const char* ClassID() const override { return "RTOV"; }
}; };
struct VEPulse : IVectorElement { struct VEPulse : IVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
IntElementFactory aDuration; IntElementFactory aDuration;
IntElementFactory bDuration; IntElementFactory bDuration;
VectorElementFactory a; VectorElementFactory a;
@ -517,38 +517,38 @@ struct VEPulse : IVectorElement {
}; };
struct VEParticleVelocity : IVectorElement { struct VEParticleVelocity : IVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
const char* ClassID() const override { return "PVEL"; } const char* ClassID() const override { return "PVEL"; }
}; };
struct VESPOS : IVectorElement { struct VESPOS : IVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
VectorElementFactory a; VectorElementFactory a;
const char* ClassID() const override { return "SPOS"; } const char* ClassID() const override { return "SPOS"; }
}; };
struct VEPLCO : IVectorElement { struct VEPLCO : IVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
const char* ClassID() const override { return "PLCO"; } const char* ClassID() const override { return "PLCO"; }
}; };
struct VEPLOC : IVectorElement { struct VEPLOC : IVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
const char* ClassID() const { return "PLOC"; } const char* ClassID() const override { return "PLOC"; }
}; };
struct VEPSOR : IVectorElement { struct VEPSOR : IVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
const char* ClassID() const override { return "PSOR"; } const char* ClassID() const override { return "PSOR"; }
}; };
struct VEPSOF : IVectorElement { struct VEPSOF : IVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
const char* ClassID() const override { return "PSOF"; } const char* ClassID() const override { return "PSOF"; }
}; };
struct CEKeyframeEmitter : IColorElement { struct CEKeyframeEmitter : IColorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
Value<atUint32> percentageTween; Value<atUint32> percentageTween;
Value<atUint32> unk1; Value<atUint32> unk1;
Value<bool> loop; Value<bool> loop;
@ -561,13 +561,13 @@ struct CEKeyframeEmitter : IColorElement {
}; };
struct CEConstant : IColorElement { struct CEConstant : IColorElement {
AT_DECL_EXPLICIT_DNA_YAML AT_DECL_EXPLICIT_DNA_YAMLV_NO_TYPE
RealElementFactory comps[4]; RealElementFactory comps[4];
const char* ClassID() const override { return "CNST"; } const char* ClassID() const override { return "CNST"; }
}; };
struct CETimeChain : IColorElement { struct CETimeChain : IColorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
ColorElementFactory a; ColorElementFactory a;
ColorElementFactory b; ColorElementFactory b;
IntElementFactory thresholdFrame; IntElementFactory thresholdFrame;
@ -575,7 +575,7 @@ struct CETimeChain : IColorElement {
}; };
struct CEFadeEnd : IColorElement { struct CEFadeEnd : IColorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
ColorElementFactory a; ColorElementFactory a;
ColorElementFactory b; ColorElementFactory b;
RealElementFactory startFrame; RealElementFactory startFrame;
@ -584,7 +584,7 @@ struct CEFadeEnd : IColorElement {
}; };
struct CEFade : IColorElement { struct CEFade : IColorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
ColorElementFactory a; ColorElementFactory a;
ColorElementFactory b; ColorElementFactory b;
RealElementFactory endFrame; RealElementFactory endFrame;
@ -592,7 +592,7 @@ struct CEFade : IColorElement {
}; };
struct CEPulse : IColorElement { struct CEPulse : IColorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
IntElementFactory aDuration; IntElementFactory aDuration;
IntElementFactory bDuration; IntElementFactory bDuration;
ColorElementFactory a; ColorElementFactory a;
@ -601,7 +601,7 @@ struct CEPulse : IColorElement {
}; };
struct MVEImplosion : IModVectorElement { struct MVEImplosion : IModVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
VectorElementFactory implodePoint; VectorElementFactory implodePoint;
RealElementFactory velocityScale; RealElementFactory velocityScale;
RealElementFactory maxRadius; RealElementFactory maxRadius;
@ -611,7 +611,7 @@ struct MVEImplosion : IModVectorElement {
}; };
struct MVEExponentialImplosion : IModVectorElement { struct MVEExponentialImplosion : IModVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
VectorElementFactory implodePoint; VectorElementFactory implodePoint;
RealElementFactory velocityScale; RealElementFactory velocityScale;
RealElementFactory maxRadius; RealElementFactory maxRadius;
@ -621,7 +621,7 @@ struct MVEExponentialImplosion : IModVectorElement {
}; };
struct MVETimeChain : IModVectorElement { struct MVETimeChain : IModVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
ModVectorElementFactory a; ModVectorElementFactory a;
ModVectorElementFactory b; ModVectorElementFactory b;
IntElementFactory thresholdFrame; IntElementFactory thresholdFrame;
@ -629,7 +629,7 @@ struct MVETimeChain : IModVectorElement {
}; };
struct MVEBounce : IModVectorElement { struct MVEBounce : IModVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
VectorElementFactory planePoint; VectorElementFactory planePoint;
VectorElementFactory planeNormal; VectorElementFactory planeNormal;
RealElementFactory friction; RealElementFactory friction;
@ -639,32 +639,32 @@ struct MVEBounce : IModVectorElement {
}; };
struct MVEConstant : IModVectorElement { struct MVEConstant : IModVectorElement {
AT_DECL_EXPLICIT_DNA_YAML AT_DECL_EXPLICIT_DNA_YAMLV_NO_TYPE
RealElementFactory comps[3]; RealElementFactory comps[3];
const char* ClassID() const override { return "CNST"; } const char* ClassID() const override { return "CNST"; }
}; };
struct MVEGravity : IModVectorElement { struct MVEGravity : IModVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
VectorElementFactory acceleration; VectorElementFactory acceleration;
const char* ClassID() const { return "GRAV"; } const char* ClassID() const override { return "GRAV"; }
}; };
struct MVEExplode : IModVectorElement { struct MVEExplode : IModVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
RealElementFactory impulseMagnitude; RealElementFactory impulseMagnitude;
RealElementFactory falloffFactor; RealElementFactory falloffFactor;
const char* ClassID() const override { return "EXPL"; } const char* ClassID() const override { return "EXPL"; }
}; };
struct MVESetPosition : IModVectorElement { struct MVESetPosition : IModVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
VectorElementFactory position; VectorElementFactory position;
const char* ClassID() const override { return "SPOS"; } const char* ClassID() const override { return "SPOS"; }
}; };
struct MVELinearImplosion : IModVectorElement { struct MVELinearImplosion : IModVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
VectorElementFactory implodePoint; VectorElementFactory implodePoint;
RealElementFactory velocityScale; RealElementFactory velocityScale;
RealElementFactory maxRadius; RealElementFactory maxRadius;
@ -674,7 +674,7 @@ struct MVELinearImplosion : IModVectorElement {
}; };
struct MVEPulse : IModVectorElement { struct MVEPulse : IModVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
IntElementFactory aDuration; IntElementFactory aDuration;
IntElementFactory bDuration; IntElementFactory bDuration;
ModVectorElementFactory a; ModVectorElementFactory a;
@ -683,14 +683,14 @@ struct MVEPulse : IModVectorElement {
}; };
struct MVEWind : IModVectorElement { struct MVEWind : IModVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
VectorElementFactory windVelocity; VectorElementFactory windVelocity;
RealElementFactory factor; RealElementFactory factor;
const char* ClassID() const override { return "WIND"; } const char* ClassID() const override { return "WIND"; }
}; };
struct MVESwirl : IModVectorElement { struct MVESwirl : IModVectorElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
VectorElementFactory helixPoint; VectorElementFactory helixPoint;
VectorElementFactory curveBinormal; VectorElementFactory curveBinormal;
RealElementFactory filterGain; RealElementFactory filterGain;
@ -699,14 +699,14 @@ struct MVESwirl : IModVectorElement {
}; };
struct EESimpleEmitter : IEmitterElement { struct EESimpleEmitter : IEmitterElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
VectorElementFactory position; VectorElementFactory position;
VectorElementFactory velocity; VectorElementFactory velocity;
const char* ClassID() const override { return "SEMR"; } const char* ClassID() const override { return "SEMR"; }
}; };
struct VESphere : IEmitterElement { struct VESphere : IEmitterElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
VectorElementFactory sphereOrigin; VectorElementFactory sphereOrigin;
RealElementFactory sphereRadius; RealElementFactory sphereRadius;
RealElementFactory magnitude; RealElementFactory magnitude;
@ -714,7 +714,7 @@ struct VESphere : IEmitterElement {
}; };
struct VEAngleSphere : IEmitterElement { struct VEAngleSphere : IEmitterElement {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV_NO_TYPE
VectorElementFactory sphereOrigin; VectorElementFactory sphereOrigin;
RealElementFactory sphereRadius; RealElementFactory sphereRadius;
RealElementFactory magnitude; RealElementFactory magnitude;
@ -726,25 +726,25 @@ struct VEAngleSphere : IEmitterElement {
}; };
struct EESimpleEmitterTR : EESimpleEmitter { struct EESimpleEmitterTR : EESimpleEmitter {
AT_DECL_EXPLICIT_DNA_YAML AT_DECL_EXPLICIT_DNA_YAMLV_NO_TYPE
const char* ClassID() const override { return "SETR"; } const char* ClassID() const override { return "SETR"; }
}; };
template <class IDType> template <class IDType>
struct UVEConstant : IUVElement { struct UVEConstant : IUVElement {
AT_DECL_EXPLICIT_DNA_YAML AT_DECL_EXPLICIT_DNA_YAMLV_NO_TYPE
AT_SUBDECL_DNA AT_SUBDECL_DNA
CastIDToZero<IDType> tex; CastIDToZero<IDType> tex;
const char* ClassID() const override { return "CNST"; } const char* ClassID() const override { return "CNST"; }
void gatherDependencies(std::vector<hecl::ProjectPath>& pathsOut) const { void gatherDependencies(std::vector<hecl::ProjectPath>& pathsOut) const override {
g_curSpec->flattenDependencies(tex, pathsOut); g_curSpec->flattenDependencies(tex, pathsOut);
} }
}; };
template <class IDType> template <class IDType>
struct UVEAnimTexture : IUVElement { struct UVEAnimTexture : IUVElement {
AT_DECL_EXPLICIT_DNA_YAML AT_DECL_EXPLICIT_DNA_YAMLV_NO_TYPE
AT_SUBDECL_DNA AT_SUBDECL_DNA
CastIDToZero<IDType> tex; CastIDToZero<IDType> tex;
IntElementFactory tileW; IntElementFactory tileW;
@ -755,7 +755,7 @@ struct UVEAnimTexture : IUVElement {
Value<bool> loop = false; Value<bool> loop = false;
const char* ClassID() const override { return "ATEX"; } const char* ClassID() const override { return "ATEX"; }
void gatherDependencies(std::vector<hecl::ProjectPath>& pathsOut) const { void gatherDependencies(std::vector<hecl::ProjectPath>& pathsOut) const override {
g_curSpec->flattenDependencies(tex, pathsOut); g_curSpec->flattenDependencies(tex, pathsOut);
} }
}; };

View File

@ -7,15 +7,13 @@ class PAKEntryReadStream;
struct TXTR { struct TXTR {
struct PaletteMeta : BigDNAVYaml { struct PaletteMeta : BigDNAVYaml {
AT_DECL_EXPLICIT_DNA_YAML AT_DECL_EXPLICIT_DNA_YAMLV
AT_DECL_DNAV
Value<atUint32> format = UINT_MAX; Value<atUint32> format = UINT_MAX;
Value<atUint32> elementCount = 0; Value<atUint32> elementCount = 0;
Value<atUint64> dolphinHash = 0; Value<atUint64> dolphinHash = 0;
}; };
struct Meta : BigDNAVYaml { struct Meta : BigDNAVYaml {
AT_DECL_EXPLICIT_DNA_YAML AT_DECL_EXPLICIT_DNA_YAMLV
AT_DECL_DNAV
Value<atUint32> format = UINT_MAX; Value<atUint32> format = UINT_MAX;
Value<atUint32> mips = 0; Value<atUint32> mips = 0;
Value<atUint16> width = 0; Value<atUint16> width = 0;

View File

@ -145,8 +145,7 @@ struct ANCS : BigDNA {
std::unique_ptr<IMetaAnim> m_anim; std::unique_ptr<IMetaAnim> m_anim;
}; };
struct MetaAnimPrimitive : IMetaAnim { struct MetaAnimPrimitive : IMetaAnim {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
MetaAnimPrimitive() : IMetaAnim(Type::Primitive, "Primitive") {} MetaAnimPrimitive() : IMetaAnim(Type::Primitive, "Primitive") {}
UniqueID32 animId; UniqueID32 animId;
@ -164,8 +163,7 @@ struct ANCS : BigDNA {
}; };
struct MetaAnimBlend : IMetaAnim { struct MetaAnimBlend : IMetaAnim {
MetaAnimBlend() : IMetaAnim(Type::Blend, "Blend") {} MetaAnimBlend() : IMetaAnim(Type::Blend, "Blend") {}
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
MetaAnimFactory animA; MetaAnimFactory animA;
MetaAnimFactory animB; MetaAnimFactory animB;
Value<float> unkFloat; Value<float> unkFloat;
@ -187,8 +185,7 @@ struct ANCS : BigDNA {
}; };
struct MetaAnimPhaseBlend : IMetaAnim { struct MetaAnimPhaseBlend : IMetaAnim {
MetaAnimPhaseBlend() : IMetaAnim(Type::PhaseBlend, "PhaseBlend") {} MetaAnimPhaseBlend() : IMetaAnim(Type::PhaseBlend, "PhaseBlend") {}
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
MetaAnimFactory animA; MetaAnimFactory animA;
MetaAnimFactory animB; MetaAnimFactory animB;
Value<float> unkFloat; Value<float> unkFloat;
@ -210,8 +207,7 @@ struct ANCS : BigDNA {
}; };
struct MetaAnimRandom : IMetaAnim { struct MetaAnimRandom : IMetaAnim {
MetaAnimRandom() : IMetaAnim(Type::Random, "Random") {} MetaAnimRandom() : IMetaAnim(Type::Random, "Random") {}
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
Value<atUint32> animCount; Value<atUint32> animCount;
struct Child : BigDNA { struct Child : BigDNA {
AT_DECL_DNA AT_DECL_DNA
@ -235,8 +231,7 @@ struct ANCS : BigDNA {
}; };
struct MetaAnimSequence : IMetaAnim { struct MetaAnimSequence : IMetaAnim {
MetaAnimSequence() : IMetaAnim(Type::Sequence, "Sequence") {} MetaAnimSequence() : IMetaAnim(Type::Sequence, "Sequence") {}
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
Value<atUint32> animCount; Value<atUint32> animCount;
Vector<MetaAnimFactory, AT_DNA_COUNT(animCount)> children; Vector<MetaAnimFactory, AT_DNA_COUNT(animCount)> children;
@ -282,8 +277,7 @@ struct ANCS : BigDNA {
}; };
struct MetaTransMetaAnim : IMetaTrans { struct MetaTransMetaAnim : IMetaTrans {
MetaTransMetaAnim() : IMetaTrans(Type::MetaAnim, "MetaAnim") {} MetaTransMetaAnim() : IMetaTrans(Type::MetaAnim, "MetaAnim") {}
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
MetaAnimFactory anim; MetaAnimFactory anim;
void gatherPrimitives(PAKRouter<PAKBridge>* pakRouter, void gatherPrimitives(PAKRouter<PAKBridge>* pakRouter,
@ -297,8 +291,7 @@ struct ANCS : BigDNA {
}; };
struct MetaTransTrans : IMetaTrans { struct MetaTransTrans : IMetaTrans {
MetaTransTrans() : IMetaTrans(Type::Trans, "Trans") {} MetaTransTrans() : IMetaTrans(Type::Trans, "Trans") {}
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
Value<float> transDurTime; Value<float> transDurTime;
Value<atUint32> transDurTimeMode; Value<atUint32> transDurTimeMode;
Value<bool> unk2; Value<bool> unk2;
@ -307,8 +300,7 @@ struct ANCS : BigDNA {
}; };
struct MetaTransPhaseTrans : IMetaTrans { struct MetaTransPhaseTrans : IMetaTrans {
MetaTransPhaseTrans() : IMetaTrans(Type::PhaseTrans, "PhaseTrans") {} MetaTransPhaseTrans() : IMetaTrans(Type::PhaseTrans, "PhaseTrans") {}
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
Value<float> transDurTime; Value<float> transDurTime;
Value<atUint32> transDurTimeMode; Value<atUint32> transDurTimeMode;
Value<bool> unk2; Value<bool> unk2;

View File

@ -31,8 +31,7 @@ struct ANIM : BigDNA {
}; };
struct ANIM0 : IANIM { struct ANIM0 : IANIM {
AT_DECL_EXPLICIT_DNA AT_DECL_EXPLICIT_DNAV
AT_DECL_DNAV
ANIM0() : IANIM(0) {} ANIM0() : IANIM(0) {}
struct Header : BigDNA { struct Header : BigDNA {
@ -48,8 +47,7 @@ struct ANIM : BigDNA {
}; };
struct ANIM2 : IANIM { struct ANIM2 : IANIM {
AT_DECL_EXPLICIT_DNA AT_DECL_EXPLICIT_DNAV
AT_DECL_DNAV
ANIM2(bool pc) : IANIM(pc ? 3 : 2) {} ANIM2(bool pc) : IANIM(pc ? 3 : 2) {}
struct Header : BigDNA { struct Header : BigDNA {

View File

@ -45,19 +45,19 @@ struct FRME : BigDNA {
Value<atInt16> unk2; Value<atInt16> unk2;
struct BWIGInfo : IWidgetInfo { struct BWIGInfo : IWidgetInfo {
AT_DECL_DNA AT_DECL_DNAV_NO_TYPE
const char* DNATypeV() const override { return "FRME::BWIG"; } const char* DNATypeV() const override { return "FRME::BWIG"; }
FourCC fourcc() const override { return FOURCC('BWIG'); } FourCC fourcc() const override { return FOURCC('BWIG'); }
}; };
struct HWIGInfo : IWidgetInfo { struct HWIGInfo : IWidgetInfo {
AT_DECL_DNA AT_DECL_DNAV_NO_TYPE
const char* DNATypeV() const override { return "FRME::HWIG"; } const char* DNATypeV() const override { return "FRME::HWIG"; }
FourCC fourcc() const override { return FOURCC('HWIG'); } FourCC fourcc() const override { return FOURCC('HWIG'); }
}; };
struct CAMRInfo : IWidgetInfo { struct CAMRInfo : IWidgetInfo {
AT_DECL_EXPLICIT_DNA AT_DECL_EXPLICIT_DNAV_NO_TYPE
const char* DNATypeV() const override { return "FRME::CAMR"; } const char* DNATypeV() const override { return "FRME::CAMR"; }
enum class ProjectionType { Perspective, Orthographic }; enum class ProjectionType { Perspective, Orthographic };
@ -69,7 +69,6 @@ struct FRME : BigDNA {
}; };
struct PerspectiveProjection : IProjection { struct PerspectiveProjection : IProjection {
AT_DECL_DNA
AT_DECL_DNAV AT_DECL_DNAV
PerspectiveProjection() : IProjection(ProjectionType::Perspective) {} PerspectiveProjection() : IProjection(ProjectionType::Perspective) {}
Value<float> fov; Value<float> fov;
@ -79,7 +78,6 @@ struct FRME : BigDNA {
}; };
struct OrthographicProjection : IProjection { struct OrthographicProjection : IProjection {
AT_DECL_DNA
AT_DECL_DNAV AT_DECL_DNAV
OrthographicProjection() : IProjection(ProjectionType::Orthographic) {} OrthographicProjection() : IProjection(ProjectionType::Orthographic) {}
Value<float> left; Value<float> left;
@ -95,7 +93,7 @@ struct FRME : BigDNA {
}; };
struct MODLInfo : IWidgetInfo { struct MODLInfo : IWidgetInfo {
AT_DECL_DNA AT_DECL_DNAV_NO_TYPE
const char* DNATypeV() const override { return "FRME::MODL"; } const char* DNATypeV() const override { return "FRME::MODL"; }
UniqueID32 model; UniqueID32 model;
enum class BlendMode { Unknown0, Unknown1, Unknown2, Additive }; enum class BlendMode { Unknown0, Unknown1, Unknown2, Additive };
@ -107,7 +105,7 @@ struct FRME : BigDNA {
}; };
struct LITEInfo : IWidgetInfo { struct LITEInfo : IWidgetInfo {
AT_DECL_EXPLICIT_DNA AT_DECL_EXPLICIT_DNAV_NO_TYPE
const char* DNATypeV() const override { return "FRME::LITE"; } const char* DNATypeV() const override { return "FRME::LITE"; }
enum class ELightType : atUint32 { enum class ELightType : atUint32 {
Spot = 0, Spot = 0,
@ -131,7 +129,7 @@ struct FRME : BigDNA {
}; };
struct ENRGInfo : IWidgetInfo { struct ENRGInfo : IWidgetInfo {
AT_DECL_DNA AT_DECL_DNAV_NO_TYPE
const char* DNATypeV() const override { return "FRME::ENRG"; } const char* DNATypeV() const override { return "FRME::ENRG"; }
UniqueID32 texture; UniqueID32 texture;
@ -139,7 +137,7 @@ struct FRME : BigDNA {
}; };
struct METRInfo : IWidgetInfo { struct METRInfo : IWidgetInfo {
AT_DECL_DNA AT_DECL_DNAV_NO_TYPE
const char* DNATypeV() const override { return "FRME::METR"; } const char* DNATypeV() const override { return "FRME::METR"; }
Value<bool> unk1; Value<bool> unk1;
Value<bool> noRoundUp; Value<bool> noRoundUp;
@ -150,7 +148,7 @@ struct FRME : BigDNA {
}; };
struct GRUPInfo : IWidgetInfo { struct GRUPInfo : IWidgetInfo {
AT_DECL_DNA AT_DECL_DNAV_NO_TYPE
const char* DNATypeV() const override { return "FRME::GRUP"; } const char* DNATypeV() const override { return "FRME::GRUP"; }
Value<atInt16> defaultWorker; Value<atInt16> defaultWorker;
Value<bool> unk3; Value<bool> unk3;
@ -159,7 +157,7 @@ struct FRME : BigDNA {
}; };
struct TBGPInfo : IWidgetInfo { struct TBGPInfo : IWidgetInfo {
AT_DECL_DNA AT_DECL_DNAV_NO_TYPE
const char* DNATypeV() const override { return "FRME::TBGP"; } const char* DNATypeV() const override { return "FRME::TBGP"; }
Value<atUint16> elementCount; Value<atUint16> elementCount;
Value<atUint16> unk2; Value<atUint16> unk2;
@ -181,7 +179,7 @@ struct FRME : BigDNA {
}; };
struct SLGPInfo : IWidgetInfo { struct SLGPInfo : IWidgetInfo {
AT_DECL_DNA AT_DECL_DNAV_NO_TYPE
const char* DNATypeV() const override { return "FRME::SLGP"; } const char* DNATypeV() const override { return "FRME::SLGP"; }
Value<float> min; Value<float> min;
Value<float> max; Value<float> max;
@ -192,7 +190,7 @@ struct FRME : BigDNA {
}; };
struct PANEInfo : IWidgetInfo { struct PANEInfo : IWidgetInfo {
AT_DECL_DNA AT_DECL_DNAV_NO_TYPE
const char* DNATypeV() const override { return "FRME::PANE"; } const char* DNATypeV() const override { return "FRME::PANE"; }
Value<float> xDim; Value<float> xDim;
Value<float> zDim; Value<float> zDim;
@ -229,7 +227,7 @@ struct FRME : BigDNA {
RightMono RightMono
}; };
AT_DECL_EXPLICIT_DNA AT_DECL_EXPLICIT_DNAV_NO_TYPE
atUint32 version = 0; atUint32 version = 0;
TXPNInfo() {} TXPNInfo() {}
@ -253,7 +251,7 @@ struct FRME : BigDNA {
}; };
struct IMGPInfo : IWidgetInfo { struct IMGPInfo : IWidgetInfo {
AT_DECL_DNA AT_DECL_DNAV_NO_TYPE
const char* DNATypeV() const override { return "FRME::IMGP"; } const char* DNATypeV() const override { return "FRME::IMGP"; }
UniqueID32 texture; UniqueID32 texture;
Value<atUint32> unk1; Value<atUint32> unk1;

View File

@ -8,8 +8,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct STRG : ISTRG { struct STRG : ISTRG {
AT_DECL_EXPLICIT_DNA_YAML AT_DECL_EXPLICIT_DNA_YAMLV
AT_DECL_DNAV
void _read(athena::io::IStreamReader& reader); void _read(athena::io::IStreamReader& reader);
std::vector<std::pair<FourCC, std::vector<std::u16string>>> langs; std::vector<std::pair<FourCC, std::vector<std::u16string>>> langs;
std::unordered_map<FourCC, std::vector<std::u16string>*> langMap; std::unordered_map<FourCC, std::vector<std::u16string>*> langMap;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct AIJumpPoint : IScriptObject { struct AIJumpPoint : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct AIKeyframe : IScriptObject { struct AIKeyframe : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atUint32> animationId; Value<atUint32> animationId;
Value<bool> looping; Value<bool> looping;

View File

@ -5,8 +5,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct Actor : IScriptObject { struct Actor : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name SO_NAME_SPECPROP(); String<-1> name SO_NAME_SPECPROP();
Value<atVec3f> location SO_LOCATION_SPECPROP(); Value<atVec3f> location SO_LOCATION_SPECPROP();
Value<atVec3f> orientation SO_ORIENTATION_SPECPROP(); Value<atVec3f> orientation SO_ORIENTATION_SPECPROP();

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct ActorContraption : IScriptObject { struct ActorContraption : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct ActorKeyframe : IScriptObject { struct ActorKeyframe : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atUint32> animationId; Value<atUint32> animationId;
Value<bool> looping; Value<bool> looping;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct ActorRotate : IScriptObject { struct ActorRotate : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> rotationOffset; Value<atVec3f> rotationOffset;
Value<float> timeScale; Value<float> timeScale;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct AmbientAI : IScriptObject { struct AmbientAI : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct AreaAttributes : IScriptObject { struct AreaAttributes : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
enum class EWeatherType : atUint32 { None, Snow, Rain }; enum class EWeatherType : atUint32 { None, Snow, Rain };
Value<atUint32> load; /* 0 causes the loader to bail and return null */ Value<atUint32> load; /* 0 causes the loader to bail and return null */

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct AtomicAlpha : IScriptObject { struct AtomicAlpha : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct AtomicBeta : IScriptObject { struct AtomicBeta : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct Babygoth : IScriptObject { struct Babygoth : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct BallTrigger : IScriptObject { struct BallTrigger : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> volume; Value<atVec3f> volume;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct Beetle : IScriptObject { struct Beetle : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atUint32> flavor; Value<atUint32> flavor;
Value<atVec3f> location; Value<atVec3f> location;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct BloodFlower : IScriptObject { struct BloodFlower : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct Burrower : IScriptObject { struct Burrower : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct Camera : IScriptObject { struct Camera : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct CameraBlurKeyframe : IScriptObject { struct CameraBlurKeyframe : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<bool> active; Value<bool> active;
Value<atUint32> btype; Value<atUint32> btype;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct CameraFilterKeyframe : IScriptObject { struct CameraFilterKeyframe : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<bool> active; Value<bool> active;
Value<atUint32> ftype; Value<atUint32> ftype;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct CameraHint : IScriptObject { struct CameraHint : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct CameraHintTrigger : IScriptObject { struct CameraHintTrigger : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct CameraPitchVolume : IScriptObject { struct CameraPitchVolume : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct CameraShaker : IScriptObject { struct CameraShaker : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<float> xMag; Value<float> xMag;
Value<float> xB; Value<float> xB;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct CameraWaypoint : IScriptObject { struct CameraWaypoint : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct ChozoGhost : IScriptObject { struct ChozoGhost : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct ColorModulate : IScriptObject { struct ColorModulate : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec4f> colorA; Value<atVec4f> colorA;
Value<atVec4f> colorB; Value<atVec4f> colorB;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct ControllerAction : IScriptObject { struct ControllerAction : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<bool> active; Value<bool> active;
Value<atUint32> command; Value<atUint32> command;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct Counter : IScriptObject { struct Counter : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atUint32> initial; Value<atUint32> initial;
Value<atUint32> maxValue; Value<atUint32> maxValue;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct CoverPoint : IScriptObject { struct CoverPoint : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct DamageableTrigger : IScriptObject { struct DamageableTrigger : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> volume; Value<atVec3f> volume;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct Debris : IScriptObject { struct Debris : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct DebrisExtended : IScriptObject { struct DebrisExtended : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct DebugCameraWaypoint : IScriptObject { struct DebugCameraWaypoint : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct DistanceFog : IScriptObject { struct DistanceFog : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atUint32> fogMode; Value<atUint32> fogMode;
Value<atVec4f> fogColor; // CColor Value<atVec4f> fogColor; // CColor

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct Dock : IScriptObject { struct Dock : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<bool> active; Value<bool> active;
Value<atVec3f> location; Value<atVec3f> location;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct DockAreaChange : IScriptObject { struct DockAreaChange : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atUint32> dockReference; Value<atUint32> dockReference;
Value<bool> active; Value<bool> active;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct DoorArea : IScriptObject { struct DoorArea : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct Drone : IScriptObject { struct Drone : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atUint32> unknown1; Value<atUint32> unknown1;
Value<atVec3f> location; Value<atVec3f> location;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct Effect : IScriptObject { struct Effect : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct ElectroMagneticPulse : IScriptObject { struct ElectroMagneticPulse : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct ElitePirate : IScriptObject { struct ElitePirate : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct EnergyBall : IScriptObject { struct EnergyBall : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct EnvFxDensityController : IScriptObject { struct EnvFxDensityController : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<bool> active; Value<bool> active;
Value<float> density; Value<float> density;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct Eyeball : IScriptObject { struct Eyeball : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atUint32> flavor; Value<atUint32> flavor;
Value<atVec3f> location; Value<atVec3f> location;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct FireFlea : IScriptObject { struct FireFlea : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct FishCloud : IScriptObject { struct FishCloud : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct FishCloudModifier : IScriptObject { struct FishCloudModifier : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> position; Value<atVec3f> position;
Value<bool> active; Value<bool> active;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct Flaahgra : IScriptObject { struct Flaahgra : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct FlaahgraTentacle : IScriptObject { struct FlaahgraTentacle : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct FlickerBat : IScriptObject { struct FlickerBat : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atUint32> unknown1; Value<atUint32> unknown1;
Value<atVec3f> location; Value<atVec3f> location;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct FlyingPirate : IScriptObject { struct FlyingPirate : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct FogVolume : IScriptObject { struct FogVolume : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> volume; Value<atVec3f> volume;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct Geemer : IScriptObject { struct Geemer : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct Generator : IScriptObject { struct Generator : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atUint32> spawnCount; Value<atUint32> spawnCount;
Value<bool> noReuseFollowers; Value<bool> noReuseFollowers;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct GrapplePoint : IScriptObject { struct GrapplePoint : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct GunTurret : IScriptObject { struct GunTurret : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atUint32> unknown1; Value<atUint32> unknown1;
Value<atVec3f> location; Value<atVec3f> location;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct HUDMemo : IScriptObject { struct HUDMemo : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<float> firstMessageTimer; Value<float> firstMessageTimer;
Value<bool> unknown1; Value<bool> unknown1;

View File

@ -21,7 +21,7 @@ zeus::CTransform ConvertEditorEulerToTransform4f(const zeus::CVector3f& scale, c
const zeus::CVector3f& position); const zeus::CVector3f& position);
struct IScriptObject : BigDNAVYaml { struct IScriptObject : BigDNAVYaml {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
atUint32 type; atUint32 type;
Value<atUint32> id; Value<atUint32> id;
struct Connection : BigDNA { struct Connection : BigDNA {

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct IceSheegoth : IScriptObject { struct IceSheegoth : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct IceZoomer : IScriptObject { struct IceZoomer : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct JellyZap : IScriptObject { struct JellyZap : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct Magdolite : IScriptObject { struct Magdolite : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct MazeNode : IScriptObject { struct MazeNode : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct MemoryRelay : IScriptObject { struct MemoryRelay : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<bool> active; Value<bool> active;
Value<bool> skipSendActive; Value<bool> skipSendActive;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct MetareeAlpha : IScriptObject { struct MetareeAlpha : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct MetroidAlpha : IScriptObject { struct MetroidAlpha : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atUint32> unknown1; Value<atUint32> unknown1;
Value<atVec3f> location; Value<atVec3f> location;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct MetroidBeta : IScriptObject { struct MetroidBeta : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct MetroidPrimeStage1 : IScriptObject { struct MetroidPrimeStage1 : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
Value<atUint32> version; Value<atUint32> version;
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct MetroidPrimeStage2 : IScriptObject { struct MetroidPrimeStage2 : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct Midi : IScriptObject { struct Midi : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<bool> active; Value<bool> active;
UniqueID32 song; UniqueID32 song;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct NewCameraShaker : IScriptObject { struct NewCameraShaker : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<bool> active; Value<bool> active;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct NewIntroBoss : IScriptObject { struct NewIntroBoss : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct Oculus : IScriptObject { struct Oculus : IScriptObject {
AT_DECL_EXPLICIT_DNA_YAML AT_DECL_EXPLICIT_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct OmegaPirate : IScriptObject { struct OmegaPirate : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct Parasite : IScriptObject { struct Parasite : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atUint32> flavor; Value<atUint32> flavor;
Value<atVec3f> location; Value<atVec3f> location;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct PathCamera : IScriptObject { struct PathCamera : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct PhazonHealingNodule : IScriptObject { struct PhazonHealingNodule : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct PhazonPool : IScriptObject { struct PhazonPool : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -7,8 +7,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct Pickup : IScriptObject { struct Pickup : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct PickupGenerator : IScriptObject { struct PickupGenerator : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> offset; Value<atVec3f> offset;
Value<bool> active; Value<bool> active;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct Platform : IScriptObject { struct Platform : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct PlayerActor : IScriptObject { struct PlayerActor : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct PlayerHint : IScriptObject { struct PlayerHint : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct PlayerStateChange : IScriptObject { struct PlayerStateChange : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<bool> active; Value<bool> active;
Value<atUint32> item; Value<atUint32> item;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct PointOfInterest : IScriptObject { struct PointOfInterest : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct PuddleSpore : IScriptObject { struct PuddleSpore : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atUint32> unknown1; Value<atUint32> unknown1;
Value<atVec3f> location; Value<atVec3f> location;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct PuddleToadGamma : IScriptObject { struct PuddleToadGamma : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atUint32> flavor; Value<atUint32> flavor;
Value<atVec3f> location; Value<atVec3f> location;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct Puffer : IScriptObject { struct Puffer : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<atVec3f> orientation; Value<atVec3f> orientation;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct RadialDamage : IScriptObject { struct RadialDamage : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<bool> active; Value<bool> active;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct RandomRelay : IScriptObject { struct RandomRelay : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atUint32> sendSetSize; Value<atUint32> sendSetSize;
Value<atUint32> sendSetVariance; Value<atUint32> sendSetVariance;

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct Relay : IScriptObject { struct Relay : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<bool> active; Value<bool> active;
}; };

View File

@ -6,8 +6,7 @@
namespace DataSpec::DNAMP1 { namespace DataSpec::DNAMP1 {
struct Repulsor : IScriptObject { struct Repulsor : IScriptObject {
AT_DECL_DNA_YAML AT_DECL_DNA_YAMLV
AT_DECL_DNAV
String<-1> name; String<-1> name;
Value<atVec3f> location; Value<atVec3f> location;
Value<bool> active; Value<bool> active;

Some files were not shown because too many files have changed in this diff Show More