From 3701037199a0e77b1a3d2b2c78a9830d2dafb9a8 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Wed, 13 Jan 2016 23:22:43 -0800 Subject: [PATCH] Add EGMC for SCAN <-> Object relations --- DataSpec/DNACommon/CMakeLists.txt | 3 ++- DataSpec/DNACommon/EGMC.hpp | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 DataSpec/DNACommon/EGMC.hpp diff --git a/DataSpec/DNACommon/CMakeLists.txt b/DataSpec/DNACommon/CMakeLists.txt index cb5ec4278..0afec4e45 100644 --- a/DataSpec/DNACommon/CMakeLists.txt +++ b/DataSpec/DNACommon/CMakeLists.txt @@ -1,6 +1,7 @@ make_dnalist(liblist CMDL - MAPA) + MAPA + EGMC) add_library(DNACommon DNACommon.hpp DNACommon.cpp diff --git a/DataSpec/DNACommon/EGMC.hpp b/DataSpec/DNACommon/EGMC.hpp new file mode 100644 index 000000000..0ef7e8dd7 --- /dev/null +++ b/DataSpec/DNACommon/EGMC.hpp @@ -0,0 +1,26 @@ +#ifndef EGMC_HPP +#define EGMC_HPP + +#include "DNACommon.hpp" + +namespace Retro +{ +namespace DNACommon +{ +struct EGMC : public BigDNA +{ + DECL_DNA + Value count; + + struct Object : BigDNA + { + DECL_DNA + Value mesh; + Value instanceId; + }; + + Vector objects; +}; +} +} +#endif // EGMC_HPP