2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-21 06:19:12 +00:00

RE COutput/InputStream and friends and migrate over

This branch is probably still horribly broken, but it's a good first step to migrating away from having hecl embedded in the runtime
This commit is contained in:
2022-02-17 23:37:54 -08:00
parent c679c2e0f8
commit dad7249927
172 changed files with 3629 additions and 2780 deletions

View File

@@ -12,17 +12,17 @@
namespace metaforce {
CIEKeyframeEmitter::CIEKeyframeEmitter(CInputStream& in) {
x4_percent = in.readUint32Big();
x8_unk1 = in.readUint32Big();
xc_loop = in.readBool();
xd_unk2 = in.readBool();
x10_loopEnd = in.readUint32Big();
x14_loopStart = in.readUint32Big();
x4_percent = in.ReadLong();
x8_unk1 = in.ReadLong();
xc_loop = in.ReadBool();
xd_unk2 = in.ReadBool();
x10_loopEnd = in.ReadLong();
x14_loopStart = in.ReadLong();
u32 count = in.readUint32Big();
u32 count = in.ReadLong();
x18_keys.reserve(count);
for (u32 i = 0; i < count; ++i)
x18_keys.push_back(in.readInt32Big());
x18_keys.push_back(in.ReadInt32());
}
bool CIEKeyframeEmitter::GetValue([[maybe_unused]] int frame, int& valOut) const {