slight refactor

This commit is contained in:
Jack Andersen 2015-06-25 09:53:27 -10:00
parent da98329eb4
commit af64e55395
8 changed files with 10 additions and 12 deletions

View File

@ -1,2 +1,5 @@
include(DNA_common/DNA_common.pri) include(DNACommon/DNACommon.pri)
include(DNA_mp1/DNA_mp1.pri) include(DNAMP1/DNAMP1.pri)
include(DNAMP2/DNAMP2.pri)
include(DNAMP3/DNAMP3.pri)

View File

@ -0,0 +1,2 @@
HEADERS += \
$$PWD/DNACommon.hpp

View File

@ -1,6 +1,6 @@
#include "../DNA_common/common.hpp" #include "../DNACommon/DNACommon.hpp"
namespace MP1 namespace DNAMP1
{ {
struct MLVL : public BigDNA struct MLVL : public BigDNA
@ -94,12 +94,7 @@ struct MLVL : public BigDNA
Vector<LayerFlags, DNA_COUNT(layerFlagCount)> layerFlags; Vector<LayerFlags, DNA_COUNT(layerFlagCount)> layerFlags;
Value<atUint32> layerNameCount; Value<atUint32> layerNameCount;
struct LayerName : public BigDNA Vector<String<-1>, DNA_COUNT(layerNameCount)> layerNames;
{
DECL_DNA
String<-1> name;
};
Vector<LayerName, DNA_COUNT(layerNameCount)> layerNames;
Value<atUint32> layerNameOffsetCount; Value<atUint32> layerNameOffsetCount;
Vector<atUint32, DNA_COUNT(layerNameOffsetCount)> layerNameOffsets; Vector<atUint32, DNA_COUNT(layerNameOffsetCount)> layerNameOffsets;

0
DNA/DNAMP2/DNAMP2.pri Normal file
View File

0
DNA/DNAMP3/DNAMP3.pri Normal file
View File

View File

@ -1,2 +0,0 @@
HEADERS += \
$$PWD/common.hpp