metaforce/DataSpec/DNAMP2/AGSC.hpp

25 lines
597 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 "DNAMP2.hpp"
2018-12-08 05:30:43 +00:00
namespace DataSpec::DNAMP2 {
2016-09-18 23:47:48 +00:00
2018-12-08 05:30:43 +00:00
class AGSC {
public:
2018-12-08 05:30:43 +00:00
struct Header : BigDNA {
AT_DECL_DNA
Value<atUint32> unk;
String<-1> groupName;
Value<atUint16> groupId = -1;
Value<atUint32> poolSz = 0;
Value<atUint32> projSz = 0;
Value<atUint32> sdirSz = 0;
Value<atUint32> sampSz = 0;
};
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::DNAMP2