Add EGMC for SCAN <-> Object relations

This commit is contained in:
Phillip Stephens 2016-01-13 23:22:43 -08:00
parent c826fc58ab
commit 3701037199
2 changed files with 28 additions and 1 deletions

View File

@ -1,6 +1,7 @@
make_dnalist(liblist
CMDL
MAPA)
MAPA
EGMC)
add_library(DNACommon
DNACommon.hpp DNACommon.cpp

View File

@ -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