2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 19:47:43 +00:00
Various fixes
This commit is contained in:
2016-01-18 21:32:34 -08:00
parent 334a7875c1
commit 8a454a4fb2
7 changed files with 553 additions and 30 deletions

View File

@@ -2,6 +2,7 @@
#define __DNAMP1_EVNT_HPP__
#include "../DNACommon/DNACommon.hpp"
#include "DNAMP1.hpp"
namespace Retro
{
@@ -25,7 +26,7 @@ struct EVNT : BigYAML
Value<atUint32> idx;
Value<atUint8> unk2;
Value<float> unk3;
Value<float> unk4;
Value<atUint32> unk4;
Value<atUint32> unk5;
};
@@ -64,6 +65,16 @@ struct EVNT : BigYAML
Value<float> bigNum;
};
std::vector<SFXEvent> sfxEvents;
static bool Extract(PAKEntryReadStream& rs, const HECL::ProjectPath& outPath)
{
EVNT evnt;
evnt.read(rs);
FILE* fp = HECL::Fopen(outPath.getAbsolutePath().c_str(), _S("wb"));
evnt.toYAMLFile(fp);
fclose(fp);
return true;
}
};
}