metaforce/DataSpec/DNAMP1/CSNG.hpp

24 lines
538 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2016-09-18 23:47:48 +00:00
2018-06-29 20:21:36 +00:00
#include "DataSpec/DNACommon/DNACommon.hpp"
2016-09-18 23:47:48 +00:00
#include "DNAMP1.hpp"
2018-12-08 05:30:43 +00:00
namespace DataSpec::DNAMP1 {
class CSNG {
struct Header : BigDNA {
AT_DECL_DNA
Value<atUint32> magic = 0x2;
Value<atUint32> midiSetupId;
Value<atUint32> songGroupId;
UniqueID32 agscId;
Value<atUint32> sngLength;
};
2016-09-18 23:47:48 +00:00
public:
2018-12-08 05:30:43 +00:00
static bool Extract(PAKEntryReadStream& rs, const hecl::ProjectPath& outPath);
static bool Cook(const hecl::ProjectPath& inPath, const hecl::ProjectPath& outPath);
2016-09-18 23:47:48 +00:00
};
2018-12-08 05:30:43 +00:00
} // namespace DataSpec::DNAMP1