metaforce/Runtime/Character/CBoolPOINode.cpp

18 lines
531 B
C++
Raw Permalink Normal View History

#include "Runtime/Character/CBoolPOINode.hpp"
#include "Runtime/Character/CAnimSourceReader.hpp"
2016-04-11 07:10:28 +00:00
2021-04-10 08:42:06 +00:00
namespace metaforce {
2016-04-11 07:10:28 +00:00
2018-12-08 05:30:43 +00:00
CBoolPOINode::CBoolPOINode() : CPOINode("root", EPOIType::EmptyBool, CCharAnimTime(), -1, false, 1.f, -1, 0) {}
2016-04-11 07:10:28 +00:00
CBoolPOINode::CBoolPOINode(CInputStream& in) : CPOINode(in), x38_val(in.ReadBool()) {}
2016-04-11 07:10:28 +00:00
2018-12-08 05:30:43 +00:00
CBoolPOINode CBoolPOINode::CopyNodeMinusStartTime(const CBoolPOINode& node, const CCharAnimTime& startTime) {
CBoolPOINode ret = node;
ret.x1c_time -= startTime;
return ret;
2016-04-12 06:15:32 +00:00
}
2021-04-10 08:42:06 +00:00
} // namespace metaforce