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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user