2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 03:07:43 +00:00

Massive template-based DNA refactor

This commit is contained in:
Jack Andersen
2018-02-21 21:24:51 -10:00
parent b405f33ded
commit e4ff23c279
265 changed files with 3993 additions and 5773 deletions

View File

@@ -8,7 +8,7 @@ namespace DataSpec::DNAMP1
struct CTweakPlayer final : ITweakPlayer
{
Delete _d;
AT_DECL_EXPLICIT_DNA_YAML
Value<float> x4_maxTranslationalAcceleration[8];
Value<float> x24_maxRotationalAcceleration[8];
Value<float> x44_translationFriction[8];
@@ -313,15 +313,7 @@ struct CTweakPlayer final : ITweakPlayer
FixupValues();
}
void read(athena::io::IStreamReader& __dna_reader);
void write(athena::io::IStreamWriter& __dna_writer) const;
void read(athena::io::YAMLDocReader& __dna_docin);
void write(athena::io::YAMLDocWriter& __dna_docout) const;
void FixupValues();
static const char* DNAType();
const char* DNATypeV() const { return DNAType(); }
size_t binarySize(size_t __isz) const;
};
}