mirror of https://github.com/AxioDL/metaforce.git
slight refactor
This commit is contained in:
parent
da98329eb4
commit
af64e55395
|
@ -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)
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
HEADERS += \
|
||||||
|
$$PWD/DNACommon.hpp
|
|
@ -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;
|
|
@ -1,2 +0,0 @@
|
||||||
HEADERS += \
|
|
||||||
$$PWD/common.hpp
|
|
Loading…
Reference in New Issue