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"
|
|
|
|
|
2017-12-29 08:08:12 +00:00
|
|
|
namespace DataSpec::DNAMP2
|
2016-09-18 23:47:48 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
class AGSC
|
|
|
|
{
|
2018-09-03 00:46:16 +00:00
|
|
|
public:
|
2016-09-18 23:47:48 +00:00
|
|
|
struct Header : BigDNA
|
|
|
|
{
|
2018-02-22 07:24:51 +00:00
|
|
|
AT_DECL_DNA
|
2016-12-28 19:41:43 +00:00
|
|
|
Value<atUint32> unk;
|
2016-09-18 23:47:48 +00:00
|
|
|
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);
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|