2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 22:27:41 +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

@@ -25,7 +25,7 @@ struct MREA
struct Header : BigDNA
{
DECL_DNA
AT_DECL_DNA
Value<atUint32> magic;
Value<atUint32> version;
Value<atVec4f> localToWorldMtx[3];
@@ -50,10 +50,10 @@ struct MREA
struct MeshHeader : BigDNA
{
DECL_DNA
AT_DECL_DNA
struct VisorFlags : BigDNA
{
DECL_DNA
AT_DECL_DNA
Value<atUint32> flags;
} visorFlags;
Value<atVec4f> xfMtx[3];
@@ -62,11 +62,11 @@ struct MREA
struct DEPS : BigDNA
{
DECL_DNA
AT_DECL_DNA
Value<atUint32> depCount;
struct Dependency : BigDNA
{
DECL_DNA
AT_DECL_DNA
UniqueID64 id;
DNAFourCC type;
};
@@ -77,7 +77,7 @@ struct MREA
struct BabeDeadLight : BigDNA
{
DECL_DNA
AT_DECL_DNA
enum class LightType : atUint32
{
LocalAmbient,