2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 19:51:22 +00:00
metaforce/Runtime/Character/CSegIdList.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

13 lines
258 B
C++

#include "Runtime/Character/CSegIdList.hpp"
namespace metaforce {
CSegIdList::CSegIdList(CInputStream& in) {
u32 count = in.ReadLong();
x0_list.reserve(count);
for (u32 i = 0; i < count; ++i)
x0_list.emplace_back(in);
}
} // namespace metaforce