2016-09-18 23:47:48 +00:00
|
|
|
#ifndef _DNAMP1_CSNG_HPP_
|
|
|
|
#define _DNAMP1_CSNG_HPP_
|
|
|
|
|
|
|
|
#include "../DNACommon/DNACommon.hpp"
|
|
|
|
#include "DNAMP1.hpp"
|
|
|
|
|
2017-12-29 08:08:12 +00:00
|
|
|
namespace DataSpec::DNAMP1
|
2016-09-18 23:47:48 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
class CSNG
|
|
|
|
{
|
|
|
|
struct Header : BigDNA
|
|
|
|
{
|
2018-02-22 07:24:51 +00:00
|
|
|
AT_DECL_DNA
|
2016-09-18 23:47:48 +00:00
|
|
|
Value<atUint32> magic = 0x2;
|
|
|
|
Value<atUint32> midiSetupId;
|
|
|
|
Value<atUint32> songGroupId;
|
|
|
|
UniqueID32 agscId;
|
|
|
|
Value<atUint32> sngLength;
|
|
|
|
};
|
|
|
|
public:
|
|
|
|
static bool Extract(PAKEntryReadStream& rs, const hecl::ProjectPath& outPath);
|
|
|
|
static bool Cook(const hecl::ProjectPath& inPath, const hecl::ProjectPath& outPath);
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // _DNAMP1_CSNG_HPP_
|