2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-08-09 02:59:06 +00:00

Particle fixes

This commit is contained in:
Phillip Stephens 2016-03-28 02:25:50 -07:00
parent 177330dfbc
commit fe53199148
4 changed files with 4 additions and 0 deletions

View File

@ -286,6 +286,7 @@ void CRSM<IDType>::write(athena::io::IStreamWriter& w) const
w.writeBytes("FOFFCNST", 8); w.writeBytes("FOFFCNST", 8);
w.writeFloatBig(x34_FOFF); w.writeFloatBig(x34_FOFF);
} }
w.writeBytes("_END", 4);
} }
template <class IDType> template <class IDType>

View File

@ -441,6 +441,7 @@ void ELSM<IDType>::write(athena::io::IStreamWriter& w) const
w.writeBytes((atInt8*)"ZERY", 4); w.writeBytes((atInt8*)"ZERY", 4);
x70_ZERY.write(w); x70_ZERY.write(w);
} }
w.writeBytes("_END", 4);
} }
template struct ELSM<UniqueID32>; template struct ELSM<UniqueID32>;

View File

@ -1529,6 +1529,7 @@ void GPSM<IDType>::write(athena::io::IStreamWriter& w) const
w.writeBytes((atInt8*)"ADV8", 4); w.writeBytes((atInt8*)"ADV8", 4);
x128_ADV8.write(w); x128_ADV8.write(w);
} }
w.writeBytes("_END", 4);
} }
template struct GPSM<UniqueID32>; template struct GPSM<UniqueID32>;

View File

@ -535,6 +535,7 @@ void SWSH<IDType>::write(athena::io::IStreamWriter& w) const
w.writeBytes("ORNTCNST\x01", 9); w.writeBytes("ORNTCNST\x01", 9);
if (x45_26_CRND) if (x45_26_CRND)
w.writeBytes("CRNDCNST\x01", 9); w.writeBytes("CRNDCNST\x01", 9);
w.writeBytes("_END", 4);
} }
template struct SWSH<UniqueID32>; template struct SWSH<UniqueID32>;