2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-19 06:45:23 +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

@@ -207,21 +207,21 @@ void CGuiTableGroup::DoIncrement() {
std::shared_ptr<CGuiWidget> CGuiTableGroup::Create(CGuiFrame* frame, CInputStream& in, CSimplePool* sp) {
CGuiWidgetParms parms = ReadWidgetHeader(frame, in);
int elementCount = in.readInt16Big();
in.readInt16Big();
in.readUint32Big();
int defaultSel = in.readInt16Big();
in.readInt16Big();
bool selectWraparound = in.readBool();
in.readBool();
in.readFloatBig();
in.readFloatBig();
in.readBool();
in.readFloatBig();
in.readInt16Big();
in.readInt16Big();
in.readInt16Big();
in.readInt16Big();
int elementCount = in.ReadInt16();
in.ReadInt16();
in.ReadLong();
int defaultSel = in.ReadInt16();
in.ReadInt16();
bool selectWraparound = in.ReadBool();
in.ReadBool();
in.ReadFloat();
in.ReadFloat();
in.ReadBool();
in.ReadFloat();
in.ReadInt16();
in.ReadInt16();
in.ReadInt16();
in.ReadInt16();
std::shared_ptr<CGuiWidget> ret = std::make_shared<CGuiTableGroup>(parms, elementCount, defaultSel, selectWraparound);
ret->ParseBaseInfo(frame, in, parms);