mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 23:07:42 +00:00
Massive template-based DNA refactor
This commit is contained in:
@@ -9,23 +9,16 @@
|
||||
namespace DataSpec::DNAParticle
|
||||
{
|
||||
template <class IDType>
|
||||
struct CRSM : BigYAML
|
||||
struct CRSM : BigDNA
|
||||
{
|
||||
static const char* DNAType() { return "CRSM"; }
|
||||
const char* DNATypeV() const { return DNAType(); }
|
||||
|
||||
AT_DECL_EXPLICIT_DNA_YAML
|
||||
AT_SUBDECL_DNA
|
||||
std::unordered_map<FourCC, ChildResourceFactory<IDType>> x0_generators;
|
||||
std::unordered_map<FourCC, uint32_t> x10_sfx;
|
||||
std::unordered_map<FourCC, ChildResourceFactory<IDType>> x20_decals;
|
||||
float x30_RNGE;
|
||||
float x34_FOFF;
|
||||
|
||||
void read(athena::io::YAMLDocReader& r);
|
||||
void write(athena::io::YAMLDocWriter& w) const;
|
||||
size_t binarySize(size_t __isz) const;
|
||||
void read(athena::io::IStreamReader& r);
|
||||
void write(athena::io::IStreamWriter& w) const;
|
||||
|
||||
CRSM();
|
||||
|
||||
void gatherDependencies(std::vector<hecl::ProjectPath>&) const;
|
||||
|
||||
Reference in New Issue
Block a user