mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 03:47:43 +00:00
Various CAnimTree implementations
This commit is contained in:
@@ -33,6 +33,23 @@ CPOINode::CPOINode(CInputStream& in)
|
||||
x34_flags(in.readUint32Big())
|
||||
{}
|
||||
|
||||
bool CPOINode::operator>(const CPOINode& other) const
|
||||
{
|
||||
return x1c_time < other.x1c_time;
|
||||
}
|
||||
|
||||
bool CPOINode::operator<(const CPOINode& other) const
|
||||
{
|
||||
return x1c_time > other.x1c_time;
|
||||
}
|
||||
|
||||
bool CPOINode::compare(const CPOINode& a, const CPOINode& b)
|
||||
{
|
||||
if (a > b)
|
||||
return 1;
|
||||
return (a < b);
|
||||
}
|
||||
|
||||
template <class T>
|
||||
u32 _getPOIList(const CCharAnimTime& time,
|
||||
T* listOut,
|
||||
|
||||
Reference in New Issue
Block a user