2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-02-02 04:29:58 +00:00
|
|
|
|
|
|
|
#include "ParticleCommon.hpp"
|
2016-03-09 04:49:44 +00:00
|
|
|
#include "PAK.hpp"
|
|
|
|
#include "athena/FileWriter.hpp"
|
2016-02-02 04:29:58 +00:00
|
|
|
|
2017-12-29 08:08:12 +00:00
|
|
|
namespace DataSpec::DNAParticle
|
2016-03-09 04:49:44 +00:00
|
|
|
{
|
|
|
|
template <class IDType>
|
2018-02-22 07:24:51 +00:00
|
|
|
struct ELSM : BigDNA
|
2016-03-09 04:49:44 +00:00
|
|
|
{
|
2018-02-22 07:24:51 +00:00
|
|
|
AT_DECL_EXPLICIT_DNA_YAML
|
|
|
|
AT_SUBDECL_DNA
|
2016-03-09 04:49:44 +00:00
|
|
|
IntElementFactory x0_LIFE;
|
|
|
|
IntElementFactory x4_SLIF;
|
|
|
|
RealElementFactory x8_GRAT;
|
|
|
|
IntElementFactory xc_SCNT;
|
|
|
|
IntElementFactory x10_SSEG;
|
|
|
|
ColorElementFactory x14_COLR;
|
|
|
|
EmitterElementFactory x18_IEMT;
|
|
|
|
EmitterElementFactory x1c_FEMT;
|
|
|
|
RealElementFactory x20_AMPL;
|
|
|
|
RealElementFactory x24_AMPD;
|
|
|
|
RealElementFactory x28_LWD1;
|
|
|
|
RealElementFactory x2c_LWD2;
|
|
|
|
RealElementFactory x30_LWD3;
|
|
|
|
ColorElementFactory x34_LCL1;
|
|
|
|
ColorElementFactory x38_LCL2;
|
|
|
|
ColorElementFactory x3c_LCL3;
|
|
|
|
ChildResourceFactory<IDType> x40_SSWH;
|
|
|
|
ChildResourceFactory<IDType> x50_GPSM;
|
|
|
|
ChildResourceFactory<IDType> x60_EPSM;
|
|
|
|
BoolHelper x70_ZERY;
|
|
|
|
|
2016-10-02 22:41:36 +00:00
|
|
|
void gatherDependencies(std::vector<hecl::ProjectPath>&) const;
|
2016-03-09 04:49:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
template <class IDType>
|
|
|
|
bool ExtractELSM(PAKEntryReadStream& rs, const hecl::ProjectPath& outPath);
|
|
|
|
|
|
|
|
template <class IDType>
|
|
|
|
bool WriteELSM(const ELSM<IDType>& elsm, const hecl::ProjectPath& outPath);
|
|
|
|
|
|
|
|
}
|