2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 01:07:43 +00:00

Fix visigen/hecl dependencies; Cleanup ViewManager; Various implementations

This commit is contained in:
2017-08-29 06:17:52 -07:00
parent 1f7e8e1033
commit 9b5ec8f86d
41 changed files with 379 additions and 379 deletions

View File

@@ -45,14 +45,14 @@ struct SObjectTag
bool operator<(const SObjectTag& other) const { return id < other.id; }
SObjectTag() = default;
SObjectTag(FourCC tp, CAssetId rid) : type(tp), id(rid) {}
SObjectTag(CInputStream& in, bool _64bit = false)
SObjectTag(CInputStream& in)
{
in.readBytesToBuf(&type, 4);
id = (_64bit ? in.readUint64Big() : in.readUint32Big());
id = CAssetId(in);
}
void readMLVL(CInputStream& in, bool _64bit = false)
void readMLVL(CInputStream& in)
{
id = (_64bit ? in.readUint64Big() : in.readUint32Big());
id = CAssetId(in);
in.readBytesToBuf(&type, 4);
}
};