2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 17:04:55 +00:00

Add CPOINode family of classes

This commit is contained in:
Jack Andersen
2016-04-10 21:10:28 -10:00
parent 8242c3edda
commit 64d85d7427
28 changed files with 351 additions and 14 deletions

View File

@@ -7,6 +7,7 @@
#include "GCNTypes.hpp"
#include "rstl.hpp"
#include "DataSpec/DNACommon/DNACommon.hpp"
#include "IOStreams.hpp"
namespace urde
{
@@ -23,6 +24,11 @@ struct SObjectTag
bool operator==(const SObjectTag& other) const {return id == other.id;}
SObjectTag() = default;
SObjectTag(FourCC tp, TResId rid) : type(tp), id(rid) {}
SObjectTag(CInputStream& in)
{
in.readBytesToBuf(&type, 4);
id = in.readUint32Big();
}
};
/**