mirror of https://github.com/AxioDL/metaforce.git
Add EGMC for SCAN <-> Object relations
This commit is contained in:
parent
c826fc58ab
commit
3701037199
|
@ -1,6 +1,7 @@
|
|||
make_dnalist(liblist
|
||||
CMDL
|
||||
MAPA)
|
||||
MAPA
|
||||
EGMC)
|
||||
|
||||
add_library(DNACommon
|
||||
DNACommon.hpp DNACommon.cpp
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
#ifndef EGMC_HPP
|
||||
#define EGMC_HPP
|
||||
|
||||
#include "DNACommon.hpp"
|
||||
|
||||
namespace Retro
|
||||
{
|
||||
namespace DNACommon
|
||||
{
|
||||
struct EGMC : public BigDNA
|
||||
{
|
||||
DECL_DNA
|
||||
Value<atUint32> count;
|
||||
|
||||
struct Object : BigDNA
|
||||
{
|
||||
DECL_DNA
|
||||
Value<atUint32> mesh;
|
||||
Value<atUint32> instanceId;
|
||||
};
|
||||
|
||||
Vector<Object, DNA_COUNT(count)> objects;
|
||||
};
|
||||
}
|
||||
}
|
||||
#endif // EGMC_HPP
|
Loading…
Reference in New Issue