2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 16:31:21 +00:00
metaforce/Runtime/Weapon/CFlameInfo.cpp
Phillip Stephens dad7249927
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
2022-02-21 08:01:05 -08:00

17 lines
527 B
C++

#include "Runtime/Weapon/CFlameInfo.hpp"
namespace metaforce {
CFlameInfo::CFlameInfo(s32 w1, s32 w2, CAssetId flameFxId, s32 w3, float f1, float f2, float f3)
: x0_propertyCount(w1), x4_attributes(w2), x8_flameFxId(flameFxId), xc_length(w3), x10_(f1), x18_(f2), x1c_(f3) {}
CFlameInfo::CFlameInfo(CInputStream& in)
: x0_propertyCount(in.ReadLong())
, x4_attributes(in.ReadLong())
, x8_flameFxId(in)
, xc_length(in.ReadLong())
, x10_(in.ReadFloat())
, x18_(in.ReadFloat())
, x1c_(in.ReadFloat()) {}
} // namespace metaforce